Shortcuts

Function torch::triu_indices

Function Documentation

inline at::Tensor torch::triu_indices(int64_t row, int64_t col, int64_t offset = 0, at::TensorOptions options = at::kLong)

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