tfg.geometry.transformation.quaternion.normalized_random_uniform

View source on GitHub

Random normalized quaternion following a uniform distribution law on SO(3).

quaternion_shape A list representing the shape of the output tensor.
name A name for this op that defaults to "quaternion_normalized_random_uniform".

A tensor of shape [quaternion_shape[0],...,quaternion_shape[-1], 4] representing random normalized quaternions.