ggml_custom_4d method
Pointer<ggml_tensor>
ggml_custom_4d(
- Pointer<
ggml_context> ctx, - ggml_type type,
- int ne0,
- int ne1,
- int ne2,
- int ne3,
- Pointer<
Pointer< args,ggml_tensor> > - int n_args,
- ggml_custom_op_t fun,
- int n_tasks,
- Pointer<
Void> userdata,
Implementation
ffi.Pointer<ggml_tensor> ggml_custom_4d(
ffi.Pointer<ggml_context> ctx,
ggml_type type,
int ne0,
int ne1,
int ne2,
int ne3,
ffi.Pointer<ffi.Pointer<ggml_tensor>> args,
int n_args,
ggml_custom_op_t fun,
int n_tasks,
ffi.Pointer<ffi.Void> userdata,
) {
return _ggml_custom_4d(
ctx,
type.value,
ne0,
ne1,
ne2,
ne3,
args,
n_args,
fun,
n_tasks,
userdata,
);
}