ggml_map_custom2 method
Pointer<ggml_tensor>
ggml_map_custom2(
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - Pointer<
ggml_tensor> b, - ggml_custom2_op_t fun,
- int n_tasks,
- Pointer<
Void> userdata,
Implementation
ffi.Pointer<ggml_tensor> ggml_map_custom2(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
ggml_custom2_op_t fun,
int n_tasks,
ffi.Pointer<ffi.Void> userdata,
) {
return _ggml_map_custom2(
ctx,
a,
b,
fun,
n_tasks,
userdata,
);
}