Skip to content

Commit 65a4a09

Browse files
Update ggml/include/ggml-opt.h
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent 1086af6 commit 65a4a09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ggml/include/ggml-opt.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ extern "C" {
7575
};
7676

7777
enum ggml_opt_optimizer_type {
78-
GGML_OPT_OPTIMIZER_ADAMW,
79-
GGML_OPT_OPTIMIZER_SGD,
78+
GGML_OPT_OPTIMIZER_TYPE_ADAMW,
79+
GGML_OPT_OPTIMIZER_TYPE_SGD,
8080

81-
GGML_OPT_OPTIMIZER_COUNT
81+
GGML_OPT_OPTIMIZER_TYPE_COUNT
8282
};
8383

8484
// "adamw" or "sgd" (case insensitive)

0 commit comments

Comments
 (0)