tf.raw_ops.ScaleAndTranslate
tf.raw_ops.ScaleAndTranslate( images, size, scale, translation, kernel_type='lanczos3', antialias=True, name=None )
Args | |
---|---|
images |
A Tensor . Must be one of the following types: int8 , uint8 , int16 , uint16 , int32 , int64 , bfloat16 , half , float32 , float64 . |
size |
A Tensor of type int32 . |
scale |
A Tensor of type float32 . |
translation |
A Tensor of type float32 . |
kernel_type |
An optional string . Defaults to "lanczos3" . |
antialias |
An optional bool . Defaults to True . |
name |
A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type float32 . |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/raw_ops/ScaleAndTranslate