![]() |
Translates image(s) by provided vectors.
tfm.vision.augment.translate(
image: tf.Tensor, translations
) -> tf.Tensor
Args | |
---|---|
image
|
An image Tensor of type uint8. |
translations
|
A vector or matrix representing [dx dy]. |
Returns | |
---|---|
The translated version of the image. |