torch_sys::c_generated

Function atg_embedding_bag_padding_idx

source
pub unsafe extern "C" fn atg_embedding_bag_padding_idx(
    out__: *mut *mut C_tensor,
    weight_: *mut C_tensor,
    indices_: *mut C_tensor,
    offsets_: *mut C_tensor,
    scale_grad_by_freq_: c_int,
    mode_: i64,
    sparse_: c_int,
    per_sample_weights_: *mut C_tensor,
    include_last_offset_: c_int,
    padding_idx_v: i64,
    padding_idx_null: i8,
)