torch_sys::c_generated

Function atg__embedding_bag_sparse_backward

source
pub unsafe extern "C" fn atg__embedding_bag_sparse_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,
    num_weights_: i64,
    scale_grad_by_freq_: c_int,
    mode_: i64,
    per_sample_weights_: *mut C_tensor,
    padding_idx_: i64,
)