ggml_opt_eval function

  1. @Native<Void Function(ggml_opt_context_t, ggml_opt_result_t)>(ggml_opt_context_t, ggml_opt_result_t)>()
void ggml_opt_eval(
  1. ggml_opt_context_t opt_ctx,
  2. ggml_opt_result_t result
)

do forward pass, increment result if not NULL, do backward pass if allocated

Implementation

@ffi.Native<ffi.Void Function(ggml_opt_context_t, ggml_opt_result_t)>()
external void ggml_opt_eval(
  ggml_opt_context_t opt_ctx,
  ggml_opt_result_t result,
);