Type Alias llama_cpp_sys::ggml_custom2_op_t
source · pub type ggml_custom2_op_t = Option<unsafe extern "C" fn(dst: *mut ggml_tensor, a: *const ggml_tensor, b: *const ggml_tensor, ith: c_int, nth: c_int, userdata: *mut c_void)>;
Aliased Type§
enum ggml_custom2_op_t {
None,
Some(unsafe extern "C" fn(_: *mut ggml_tensor, _: *const ggml_tensor, _: *const ggml_tensor, _: i32, _: i32, _: *mut c_void)),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut ggml_tensor, _: *const ggml_tensor, _: *const ggml_tensor, _: i32, _: i32, _: *mut c_void))
Some value of type T
.