Function torch::special::sinc¶
Defined in File special.h
Function Documentation¶
-
inline Tensor torch::special::sinc(const Tensor &self)¶
Computes the sinc of input, elementwise See https://pytorch.org/docs/main/special.html#torch.special.sinc.
Example:
auto t = torch::randn(128, dtype=kDouble); torch::special::sinc(t);