Function tensorflow_sys::TF_NewTensor [] [src]

pub unsafe extern "C" fn TF_NewTensor(
    arg1: TF_DataType,
    dims: *const i64,
    num_dims: c_int,
    data: *mut c_void,
    len: usize,
    deallocator: Option<unsafe extern "C" fn(_: *mut c_void, _: usize, _: *mut c_void)>,
    deallocator_arg: *mut c_void
) -> *mut TF_Tensor