MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_rope_custom

Function ggml_rope_custom

subprojects/llama.cpp/ggml/src/ggml.c:4217–4234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4215}
4216
4217struct ggml_tensor * ggml_rope_custom(
4218 struct ggml_context * ctx,
4219 struct ggml_tensor * a,
4220 struct ggml_tensor * b,
4221 int n_dims,
4222 int mode,
4223 int n_ctx_orig,
4224 float freq_base,
4225 float freq_scale,
4226 float ext_factor,
4227 float attn_factor,
4228 float beta_fast,
4229 float beta_slow) {
4230 return ggml_rope_impl(
4231 ctx, a, b, NULL, n_dims, NULL, mode, n_ctx_orig, freq_base, freq_scale,
4232 ext_factor, attn_factor, beta_fast, beta_slow, false
4233 );
4234}
4235
4236struct ggml_tensor * ggml_rope_custom_inplace(
4237 struct ggml_context * ctx,

Callers

nothing calls this directly

Calls 1

ggml_rope_implFunction · 0.85

Tested by

no test coverage detected