View source on GitHub |
Transforms an image.
tfm.vision.augment.transform(
image: tf.Tensor,
transforms: Any,
interpolation: str = 'nearest',
output_shape=None,
fill_mode: str = 'reflect',
fill_value: float = 0.0
) -> tf.Tensor