mindchemistry.e3.o3.rand_angles
- mindchemistry.e3.o3.rand_angles(*shape)[source]
Give a random set of Euler angles.
- Parameters
shape (Tuple[int]) – The shape of additional dimensions.
- Returns
alpha (Tensor) - The alpha Euler angles.
beta (Tensor) - The beta Euler angles.
gamma (Tensor) - The gamma Euler angles.
- Raises
- Supported Platforms:
Ascend
Examples
>>> from mindchemistry.e3.o3 import rand_angles >>> m = rand_angles((1)) >>> print(m) (Tensor(shape=[1], dtype=Float32, value= [ 4.00494671e+00]), Tensor(shape=[1], dtype=Float32, value= [ 1.29240000e+00]), Tensor(shape=[1], dtype=Float32, value= [ 5.71690750e+00]))