squash! ggml : move rope type enum to ggml.h

Update comment for ggml_rope function.
This commit is contained in:
Daniel Bevenius 2024-08-11 10:00:18 +02:00
parent d74cc1674f
commit 3e4d01ce01
Failed to extract signature

View file

@ -1455,8 +1455,8 @@ extern "C" {
struct ggml_tensor * b); struct ggml_tensor * b);
// rotary position embedding // rotary position embedding
// if mode & 1 == 1, skip n_past elements (NOT SUPPORTED) // if (mode & 1) - skip n_past elements (NOT SUPPORTED)
// if mode & GGML_ROPE_TYPE_NEOX == 1, GPT-NeoX style // if (mode & GGML_ROPE_TYPE_NEOX) - GPT-NeoX style
// //
// b is an int32 vector with size a->ne[2], it contains the positions // b is an int32 vector with size a->ne[2], it contains the positions
GGML_API struct ggml_tensor * ggml_rope( GGML_API struct ggml_tensor * ggml_rope(