ggml_rope_ext method
Pointer<ggml_tensor>
ggml_rope_ext(
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - Pointer<
ggml_tensor> b, - Pointer<
ggml_tensor> c, - int n_dims,
- 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.Pointer<ggml_tensor> ggml_rope_ext(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
ffi.Pointer<ggml_tensor> c,
int n_dims,
int mode,
int n_ctx_orig,
double freq_base,
double freq_scale,
double ext_factor,
double attn_factor,
double beta_fast,
double beta_slow,
) {
return _ggml_rope_ext(
ctx,
a,
b,
c,
n_dims,
mode,
n_ctx_orig,
freq_base,
freq_scale,
ext_factor,
attn_factor,
beta_fast,
beta_slow,
);
}