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

Function ggml_rope_multi_inplace

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

Source from the content-addressed store, hash-verified

4143}
4144
4145struct ggml_tensor * ggml_rope_multi_inplace(
4146 struct ggml_context * ctx,
4147 struct ggml_tensor * a,
4148 struct ggml_tensor * b,
4149 struct ggml_tensor * c,
4150 int n_dims,
4151 int sections[GGML_MROPE_SECTIONS],
4152 int mode,
4153 int n_ctx_orig,
4154 float freq_base,
4155 float freq_scale,
4156 float ext_factor,
4157 float attn_factor,
4158 float beta_fast,
4159 float beta_slow) {
4160 return ggml_rope_impl(
4161 ctx, a, b, c, n_dims, sections, mode, n_ctx_orig, freq_base, freq_scale,
4162 ext_factor, attn_factor, beta_fast, beta_slow, true
4163 );
4164}
4165
4166struct ggml_tensor * ggml_rope_inplace(
4167 struct ggml_context * ctx,

Callers 1

build_graphMethod · 0.85

Calls 1

ggml_rope_implFunction · 0.85

Tested by 1

build_graphMethod · 0.68