ggml_map_custom2 method

Pointer<ggml_tensor> ggml_map_custom2(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. Pointer<ggml_tensor> b,
  4. ggml_custom2_op_t fun,
  5. int n_tasks,
  6. 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,
  );
}