Shortcuts

Function torch::special::zeta(const Tensor&, const Tensor&)

Function Documentation

Tensor torch::special::zeta(const Tensor &self, const Tensor &other)

Computes Hurwitz Zeta function for inputs, elementwise See https://pytorch.org/docs/master/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);

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources