mindscience.e3nn.o3.identity_angles
- mindscience.e3nn.o3.identity_angles(*shape, dtype=mindspore.float32)[source]
Return the identity set of Euler angles \((\alpha, \beta, \gamma)\) that corresponds to "no rotation". Whatever shape is requested, the three returned tensors are filled with zeros.
- Parameters
- Returns
tuple[Tensor]. A tuple of \(alpha\) Tensors, each of shape shape.
- Raises
Examples
>>> from mindscience.e3nn.o3 import identity_angles >>> m = identity_angles((1)) >>> print(m) (Tensor(shape=[1], dtype=Float32, value= [ 0.00000000e+00]), Tensor(shape=[1], dtype=Float32, value= [ 0.00000000e+00]), Tensor(shape=[1], dtype=Float32, value= [ 0.00000000e+00]))