# tfg.geometry.transformation.rotation_matrix_3d.is_valid

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/geometry/transformation/rotation_matrix_3d.py#L341-L368) |

Determines if a matrix is a valid rotation matrix.

    tfg.geometry.transformation.rotation_matrix_3d.is_valid(
        matrix: type_alias.TensorLike,
        atol: type_alias.Float = 0.001,
        name: str = 'rotation_matrix_3d_is_valid'
    ) -> tf.Tensor

<br />

<br />

<br />

| ## Note ||
|---|---|
| In the following, A1 to An are optional batch dimensions. ||

<br />

<br />

<br />

<br />

| ## Args ||
|---|---|
| `matrix` | A tensor of shape `[A1, ..., An, 3,3]`, where the last two dimensions represent a matrix. |
| `atol` | Absolute tolerance parameter. |
| `name` | A name for this op that defaults to "rotation_matrix_3d_is_valid". |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A tensor of type `bool` and shape `[A1, ..., An, 1]` where False indicates that the input is not a valid rotation matrix. ||

<br />