def sin(x: T.FloatTensor) -> T.FloatTensor: """ Elementwise sine of a tensor. Args: x: A tensor. Returns: tensor: Elementwise sine. """ return torch.sin(x)