ggml_map_custom1 method

Pointer<ggml_tensor> ggml_map_custom1(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. ggml_custom1_op_t fun,
  4. int n_tasks,
  5. Pointer<Void> userdata,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_map_custom1(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  ggml_custom1_op_t fun,
  int n_tasks,
  ffi.Pointer<ffi.Void> userdata,
) {
  return _ggml_map_custom1(
    ctx,
    a,
    fun,
    n_tasks,
    userdata,
  );
}