tfm.vision.augment.translate

Stay organized with collections Save and categorize content based on your preferences.

Translates image(s) by provided vectors.

image An image Tensor of type uint8.
translations A vector or matrix representing [dx dy].

The translated version of the image.