random#

classmethod Rotation.random(shape: Union[int, tuple] = (1,)) Rotation[source]#

Return random rotations.

Parameters:
shape

Shape of the rotation instance.

Returns:
r

Rotations.