Function torch::special::zeta(const Tensor&, const Tensor&)¶
Defined in File special.h
Function Documentation¶
-
inline Tensor torch::special::zeta(const Tensor &self, const Tensor &other)¶
Computes Hurwitz Zeta function for inputs, elementwise See https://pytorch.org/docs/main/special.html#torch.special.zeta.
Example:
auto x = torch::randn(128, dtype=kDouble); auto y = torch::randn(128, dtype=kDouble); torch::special::zeta(x, y);