tfg.geometry.transformation.rotation_matrix_2d.is_valid
Determines if a matrix is a valid rotation matrix.
tfg.geometry.transformation.rotation_matrix_2d.is_valid(
matrix: type_alias.TensorLike,
atol: type_alias.Float = 0.001,
name: str = 'rotation_matrix_2d_is_valid'
) -> tf.Tensor
Determines if a matrix is a valid rotation matrix by checking
that and .
Note |
In the following, A1 to An are optional batch dimensions.
|
Args |
matrix
|
A tensor of shape [A1, ..., An, 2, 2] , where the last two
dimensions represent a 2d rotation matrix.
|
atol
|
The absolute tolerance parameter.
|
name
|
A name for this op that defaults to "rotation_matrix_2d_is_valid".
|
Returns |
A tensor of type bool and shape [A1, ..., An, 1] where False indicates
that the input is not a valid rotation matrix.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-28 UTC.
[null,null,["Last updated 2022-10-28 UTC."],[],[]]