ggml_rope_custom method
Pointer<ggml_tensor>
ggml_rope_custom(
- Pointer<ggml_context> ctx,
- Pointer<ggml_tensor> a,
- Pointer<ggml_tensor> b,
- int n_dims,
- int mode,
- int n_ctx,
- int n_orig_ctx,
- 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_custom(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
int n_dims,
int mode,
int n_ctx,
int n_orig_ctx,
double freq_base,
double freq_scale,
double ext_factor,
double attn_factor,
double beta_fast,
double beta_slow,
) {
return _ggml_rope_custom(
ctx,
a,
b,
n_dims,
mode,
n_ctx,
n_orig_ctx,
freq_base,
freq_scale,
ext_factor,
attn_factor,
beta_fast,
beta_slow,
);
}