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