Shortcuts

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

Function Documentation

inline Tensor torch::special::shifted_chebyshev_polynomial_t(const Tensor &x, const Tensor &n)

Shifted Chebyshev polynomial of the first kind.

See https://pytorch.org/docs/main/special.html#torch.special.shifted_chebyshev_polynomial_t.

Example:

auto x = torch::randn(128, dtype=kDouble);
auto n = torch::randn(128, dtype=kDouble);

torch::special::shifted_chebyshev_polynomial_t(x, n);

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