ggml_rope_multi function
- @Native<Pointer<ggml_tensor> Function(Pointer<ggml_context>, Pointer<ggml_tensor>, Pointer<ggml_tensor>, Pointer<ggml_tensor>, Int, Pointer<Int>, Int, Int, Float, Float, Float, Float, Float, Float)>(ffi.Pointer<ggml_context>, ffi.Pointer<ggml_tensor>, ffi.Pointer<ggml_tensor>, ffi.Pointer<ggml_tensor>, ffi.Int, ffi.Pointer<ffi.Int>, ffi.Int, ffi.Int, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float)>()
Pointer<ggml_tensor>
ggml_rope_multi(
- Pointer<ggml_context> ctx,
- Pointer<ggml_tensor> a,
- Pointer<ggml_tensor> b,
- Pointer<ggml_tensor> c,
- int n_dims,
- Pointer<Int> sections,
- int mode,
- int n_ctx_orig,
- double freq_base,
- double freq_scale,
- double ext_factor,
- double attn_factor,
- double beta_fast,
- double beta_slow,
)
Implementation
@ffi.Native<
ffi.Pointer<ggml_tensor> Function(
ffi.Pointer<ggml_context>,
ffi.Pointer<ggml_tensor>,
ffi.Pointer<ggml_tensor>,
ffi.Pointer<ggml_tensor>,
ffi.Int,
ffi.Pointer<ffi.Int>,
ffi.Int,
ffi.Int,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
)
>()
external ffi.Pointer<ggml_tensor> ggml_rope_multi(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
ffi.Pointer<ggml_tensor> c,
int n_dims,
ffi.Pointer<ffi.Int> sections,
int mode,
int n_ctx_orig,
double freq_base,
double freq_scale,
double ext_factor,
double attn_factor,
double beta_fast,
double beta_slow,
);