ggml_new_graph_custom function

  1. @Native<Pointer<ggml_cgraph> Function(Pointer<ggml_context>, Size, Bool)>(ffi.Pointer<ggml_context>, ffi.Size, ffi.Bool)>()
Pointer<ggml_cgraph> ggml_new_graph_custom(
  1. Pointer<ggml_context> ctx,
  2. int size,
  3. bool grads
)

Implementation

@ffi.Native<
  ffi.Pointer<ggml_cgraph> Function(
    ffi.Pointer<ggml_context>,
    ffi.Size,
    ffi.Bool,
  )
>()
external ffi.Pointer<ggml_cgraph> ggml_new_graph_custom(
  ffi.Pointer<ggml_context> ctx,
  int size,
  bool grads,
);