ggml_map_custom3_inplace function
- @Native<Pointer<ggml_tensor> Function(Pointer<ggml_context>, Pointer<ggml_tensor>, Pointer<ggml_tensor>, Pointer<ggml_tensor>, ggml_custom3_op_t, Int, Pointer<Void>)>(ffi.Pointer<ggml_context>, ffi.Pointer<ggml_tensor>, ffi.Pointer<ggml_tensor>, ffi.Pointer<ggml_tensor>, ggml_custom3_op_t, ffi.Int, ffi.Pointer<ffi.Void>)>()
Pointer<ggml_tensor>
ggml_map_custom3_inplace(
- Pointer<ggml_context> ctx,
- Pointer<ggml_tensor> a,
- Pointer<ggml_tensor> b,
- Pointer<ggml_tensor> c,
- ggml_custom3_op_t fun,
- int n_tasks,
- Pointer<Void> userdata,
)
Implementation
@ffi.Native<
ffi.Pointer<ggml_tensor> Function(
ffi.Pointer<ggml_context>,
ffi.Pointer<ggml_tensor>,
ffi.Pointer<ggml_tensor>,
ffi.Pointer<ggml_tensor>,
ggml_custom3_op_t,
ffi.Int,
ffi.Pointer<ffi.Void>,
)
>()
external ffi.Pointer<ggml_tensor> ggml_map_custom3_inplace(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
ffi.Pointer<ggml_tensor> c,
ggml_custom3_op_t fun,
int n_tasks,
ffi.Pointer<ffi.Void> userdata,
);