pose_format.tensorflow.representation.inner_angle module
Classes:
A class to represent the inner angle formed at a point for a given triangle. |
Functions:
|
Computes the normalized version of the input vectors. |
- class pose_format.tensorflow.representation.inner_angle.InnerAngleRepresentation[source]
Bases:
objectA class to represent the inner angle formed at a point for a given triangle.
- pose_format.tensorflow.representation.inner_angle.get_vectors_norm(vectors)[source]
Computes the normalized version of the input vectors.
- Parameters:
vectors (tf.Tensor) – A tensor containing vectors.
- Returns:
The normalized vectors.
- Return type:
tf.Tensor
Notes
This function transposes the input vectors, computes the magnitude (norm) of the vectors, and then returns the normalized version by dividing each vector by its magnitude.