tfg.geometry.transformation.euler.from_quaternion

View source on GitHub

Converts quaternions to Euler angles.

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".

A tensor of shape [A1, ..., An, 3], where the last dimension represents the three Euler angles.