mindspore.mint.sin
- mindspore.mint.sin(input)[source]
Compute sine of the input tensor element-wise.
- Parameters
input (Tensor) – The input tensor.
- Returns
Tensor
- Supported Platforms:
Ascend
Examples
>>> import mindspore >>> input = mindspore.tensor([0.62, 0.28, 0.43, 0.62], mindspore.float32) >>> output = mindspore.mint.sin(input) >>> print(output) [0.58103514 0.27635565 0.4168708 0.58103514]