]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ggml : fix enum order for TANH (#316)
authorGeorgi Gerganov <redacted>
Sun, 2 Jul 2023 15:26:26 +0000 (18:26 +0300)
committerGeorgi Gerganov <redacted>
Sun, 2 Jul 2023 15:26:26 +0000 (18:26 +0300)
include/ggml/ggml.h

index 05d7f0a191a3f293826b211011dccea35412251b..0b3c3181773a29eaac7152c7a8047a151a723ff3 100644 (file)
@@ -328,13 +328,13 @@ extern "C" {
         GGML_OP_SGN,
         GGML_OP_NEG,
         GGML_OP_STEP,
+        GGML_OP_TANH,
         GGML_OP_ELU,
         GGML_OP_RELU,
         GGML_OP_GELU,
         GGML_OP_GELU_QUICK,
         GGML_OP_SILU,
         GGML_OP_SILU_BACK,
-        GGML_OP_TANH,
         GGML_OP_NORM, // normalize
         GGML_OP_RMS_NORM,
         GGML_OP_RMS_NORM_BACK,