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

Function ggml_set_param

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

Source from the content-addressed store, hash-verified

7482}
7483
7484void ggml_set_param(struct ggml_tensor * tensor) {
7485 GGML_ASSERT(tensor->op == GGML_OP_NONE);
7486 tensor->flags |= GGML_TENSOR_FLAG_PARAM;
7487}
7488
7489void ggml_set_loss(struct ggml_tensor * tensor) {
7490 GGML_ASSERT(ggml_is_scalar(tensor));

Callers 15

llama_set_paramFunction · 0.85
helper_get_ctx_dataFunction · 0.85
test_regressionFunction · 0.85
mainFunction · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85

Calls

no outgoing calls

Tested by 15

helper_get_ctx_dataFunction · 0.68
test_regressionFunction · 0.68
mainFunction · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68