scipy.spatial.transform.RigidTransform. scipy.spatial.transform.RigidTransform.shape# property RigidTransform.shape# The shape of the transform’s leading dimensions.