tfg.geometry.transformation.euler.from_axis_angle
Stay organized with collections
Save and categorize content based on your preferences.
Converts axis-angle to Euler angles.
tfg.geometry.transformation.euler.from_axis_angle(
axis: type_alias.TensorLike,
angle: type_alias.TensorLike,
name: str = 'euler_from_axis_angle'
) -> tf.Tensor
Note |
In the following, A1 to An are optional batch dimensions.
|
Args |
axis
|
A tensor of shape [A1, ..., An, 3] , where the last dimension
represents a normalized axis.
|
angle
|
A tensor of shape [A1, ..., An, 1] , where the last dimension
represents an angle.
|
name
|
A name for this op that defaults to "euler_from_axis_angle".
|
Returns |
A tensor of shape [A1, ..., An, 3] , where the last dimension represents
the three Euler angles.
|
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."],[],[],null,["# tfg.geometry.transformation.euler.from_axis_angle\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/geometry/transformation/euler.py#L43-L64) |\n\nConverts axis-angle to Euler angles. \n\n tfg.geometry.transformation.euler.from_axis_angle(\n axis: type_alias.TensorLike,\n angle: type_alias.TensorLike,\n name: str = 'euler_from_axis_angle'\n ) -\u003e tf.Tensor\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Note ---- ||\n|---|---|\n| In the following, A1 to An are optional batch dimensions. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------|----------------------------------------------------------------------------------------------|\n| `axis` | A tensor of shape `[A1, ..., An, 3]`, where the last dimension represents a normalized axis. |\n| `angle` | A tensor of shape `[A1, ..., An, 1]`, where the last dimension represents an angle. |\n| `name` | A name for this op that defaults to \"euler_from_axis_angle\". |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A tensor of shape `[A1, ..., An, 3]`, where the last dimension represents the three Euler angles. ||\n\n\u003cbr /\u003e"]]