Function at::_embedding_bag_out¶
Defined in File Functions.h
Function Documentation¶
-
inline ::std::tuple<at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&> at::_embedding_bag_out(at::Tensor &out0, at::Tensor &out1, at::Tensor &out2, at::Tensor &out3, const at::Tensor &weight, const at::Tensor &indices, const at::Tensor &offsets, bool scale_grad_by_freq = false, int64_t mode = 0, bool sparse = false, const ::std::optional<at::Tensor> &per_sample_weights = {}, bool include_last_offset = false, int64_t padding_idx = -1)¶