torch_sys::c_generated

Function atg_to_device

source
pub unsafe extern "C" fn atg_to_device(
    out__: *mut *mut C_tensor,
    self_: *mut C_tensor,
    device_: c_int,
    dtype_: c_int,
    non_blocking_: c_int,
    copy_: c_int,
)