Shortcuts

Function at::embedding

Function Documentation

inline at::Tensor at::embedding(const at::Tensor &weight, const at::Tensor &indices, int64_t padding_idx = -1, bool scale_grad_by_freq = false, bool sparse = false)

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