File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ extern "C" {
142
142
143
143
// ====== Optimization Result ======
144
144
145
- GGML_API ggml_opt_result_t ggml_opt_result_init ();
145
+ GGML_API ggml_opt_result_t ggml_opt_result_init (void );
146
146
GGML_API void ggml_opt_result_free (ggml_opt_result_t result );
147
147
GGML_API void ggml_opt_result_reset (ggml_opt_result_t result );
148
148
Original file line number Diff line number Diff line change @@ -2606,7 +2606,7 @@ struct llama_cparams {
2606
2606
};
2607
2607
2608
2608
// TODO: separate into "llama_layer_enc" and "llama_layer_dec"
2609
- // the code in llama_save_model_to_file assumes llama_layer to consist exclusively of struct ggml_tensor *
2609
+ // the code in llama_save_model_to_file and llama_opt_init assumes llama_layer to consist exclusively of struct ggml_tensor *
2610
2610
struct llama_layer {
2611
2611
llama_layer() {
2612
2612
// initialize all pointers to NULL
You can’t perform that action at this time.
0 commit comments