torch_sys::c_generated

Function atg__embedding_bag_backward

source
pub unsafe extern "C" fn atg__embedding_bag_backward(
    out__: *mut *mut C_tensor,
    grad_: *mut C_tensor,
    indices_: *mut C_tensor,
    offsets_: *mut C_tensor,
    offset2bag_: *mut C_tensor,
    bag_size_: *mut C_tensor,
    maximum_indices_: *mut C_tensor,
    num_weights_: i64,
    scale_grad_by_freq_: c_int,
    mode_: i64,
    sparse_: c_int,
    per_sample_weights_: *mut C_tensor,
    padding_idx_: i64,
)