View source on GitHub |
Returns projective transform(s) for the given translation(s).
tfa.image.translations_to_projective_transforms(
translations: tfa.types.TensorLike
,
name: Optional[str] = None
) -> tf.Tensor
Returns | |
---|---|
A tensor of shape (num_images, 8) projective transforms which can be
given to tfa.image.transform .
|