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

Function ggml_scale

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

Source from the content-addressed store, hash-verified

3290}
3291
3292struct ggml_tensor * ggml_scale(
3293 struct ggml_context * ctx,
3294 struct ggml_tensor * a,
3295 float s) {
3296 return ggml_scale_impl(ctx, a, s, 0.0, false);
3297}
3298
3299struct ggml_tensor * ggml_scale_inplace(
3300 struct ggml_context * ctx,

Callers 15

build_graph_piterFunction · 0.85
merge_tensorMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
build_mobilenet_attnMethod · 0.85
buildMethod · 0.85
weight_buft_supportedFunction · 0.85
build_lora_mmMethod · 0.85
build_lora_mm_idMethod · 0.85
build_moe_ffnMethod · 0.85

Calls 1

ggml_scale_implFunction · 0.85

Tested by 7

helper_get_ctx_dataFunction · 0.68
test_reuse_and_freeFunction · 0.68
test_buffer_size_zeroFunction · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68