torch.sinc¶
-
torch.
sinc
(input, *, out=None) → Tensor¶ Computes the normalized sinc of
input.
- Parameters
input (Tensor) – the input tensor.
- Keyword Arguments
out (Tensor, optional) – the output tensor.
Example:
>>> a = torch.randn(4) >>> a tensor([ 0.2252, -0.2948, 1.0267, -1.1566]) >>> torch.sinc(a) tensor([ 0.9186, 0.8631, -0.0259, -0.1300])