View source on GitHub |
Converts quaternions to Euler angles.
tfg.geometry.transformation.euler.from_quaternion(
quaternions: type_alias.TensorLike,
name: str = 'euler_from_quaternion'
) -> tf.Tensor
Args | |
---|---|
quaternions
|
A tensor of shape [A1, ..., An, 4] , where the last dimension
represents a normalized quaternion.
|
name
|
A name for this op that defaults to "euler_from_quaternion". |
Returns | |
---|---|
A tensor of shape [A1, ..., An, 3] , where the last dimension represents
the three Euler angles.
|