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

Function ggml_rope_ext_inplace

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

Source from the content-addressed store, hash-verified

4195}
4196
4197struct ggml_tensor * ggml_rope_ext_inplace(
4198 struct ggml_context * ctx,
4199 struct ggml_tensor * a,
4200 struct ggml_tensor * b,
4201 struct ggml_tensor * c,
4202 int n_dims,
4203 int mode,
4204 int n_ctx_orig,
4205 float freq_base,
4206 float freq_scale,
4207 float ext_factor,
4208 float attn_factor,
4209 float beta_fast,
4210 float beta_slow) {
4211 return ggml_rope_impl(
4212 ctx, a, b, c, n_dims, NULL, mode, n_ctx_orig, freq_base, freq_scale,
4213 ext_factor, attn_factor, beta_fast, beta_slow, true
4214 );
4215}
4216
4217struct ggml_tensor * ggml_rope_custom(
4218 struct ggml_context * ctx,

Callers 2

build_rope_shiftMethod · 0.85
build_graphMethod · 0.85

Calls 1

ggml_rope_implFunction · 0.85

Tested by 1

build_graphMethod · 0.68