ggml_opt_fit

Function ggml_opt_fit 

Source
pub unsafe extern "C" fn ggml_opt_fit(
    backend_sched: ggml_backend_sched_t,
    ctx_compute: *mut ggml_context,
    inputs: *mut ggml_tensor,
    outputs: *mut ggml_tensor,
    dataset: ggml_opt_dataset_t,
    loss_type: ggml_opt_loss_type,
    optimizer: ggml_opt_optimizer_type,
    get_opt_pars: ggml_opt_get_optimizer_params,
    nepoch: i64,
    nbatch_logical: i64,
    val_split: f32,
    silent: bool,
)