ggml_opt_epoch_callbackFunction typedef

ggml_opt_epoch_callbackFunction = Void Function(Bool train, ggml_opt_context_t opt_ctx, ggml_opt_dataset_t dataset, ggml_opt_result_t result, Int64 ibatch, Int64 ibatch_max, Int64 t_start_us)

Implementation

typedef ggml_opt_epoch_callbackFunction = ffi.Void Function(
    ffi.Bool train,
    ggml_opt_context_t opt_ctx,
    ggml_opt_dataset_t dataset,
    ggml_opt_result_t result,
    ffi.Int64 ibatch,
    ffi.Int64 ibatch_max,
    ffi.Int64 t_start_us);