• Docs >
  • Library API >
  • Template Function at::symint::_embedding_bag_dense_backward_out(at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, bool, int64_t, const ::std::optional<at::Tensor>&, int64_t)
  • Edit on GitHub
Shortcuts

Template Function at::symint::_embedding_bag_dense_backward_out(at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, bool, int64_t, const ::std::optional<at::Tensor>&, int64_t)

Function Documentation

template<typename T, typename = std::enable_if_t<std::is_same_v<T, int64_t>>>
at::Tensor &at::symint::_embedding_bag_dense_backward_out(at::Tensor &out, const at::Tensor &grad, const at::Tensor &indices, const at::Tensor &offset2bag, const at::Tensor &bag_size, const at::Tensor &maximum_indices, int64_t num_weights, bool scale_grad_by_freq, int64_t mode, const ::std::optional<at::Tensor> &per_sample_weights, int64_t padding_idx = -1)

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