ggml_map_custom2_inplace method

Pointer<ggml_tensor> ggml_map_custom2_inplace(
  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,
)

General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Implementation

ffi.Pointer<ggml_tensor> ggml_map_custom2_inplace(
  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_inplace(ctx, a, b, fun, n_tasks, userdata);
}