MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_rope

Function ggml_rope

ggml.c:5077–5087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5075}
5076
5077struct ggml_tensor * ggml_rope(
5078 struct ggml_context * ctx,
5079 struct ggml_tensor * a,
5080 struct ggml_tensor * b,
5081 int n_dims,
5082 int mode,
5083 int n_ctx) {
5084 return ggml_rope_impl(
5085 ctx, a, b, n_dims, mode, n_ctx, 0, 10000.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, false, false
5086 );
5087}
5088
5089struct ggml_tensor * ggml_rope_inplace(
5090 struct ggml_context * ctx,

Callers 5

mainFunction · 0.50
mainFunction · 0.50
forwardFunction · 0.50
forward_batchFunction · 0.50
forward_loraFunction · 0.50

Calls 1

ggml_rope_implFunction · 0.70

Tested by 2

mainFunction · 0.40
mainFunction · 0.40