Tensor.sin()
Returns the sine of the specified input tensor, element-wise.
Usage
from tinygrad.tensor import Tensor
tensor = Tensor([-2, -3, -2, -1, 0, 6])
tensor = tensor.sin()
print(tensor.numpy())
Return value
[-0.90929747 -0.14112 -0.90929747 -0.841471 0. -0.2794155 ]