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

Function ggml_set_name

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

Source from the content-addressed store, hash-verified

1841}
1842
1843struct ggml_tensor * ggml_set_name(struct ggml_tensor * tensor, const char * name) {
1844 size_t i;
1845 for (i = 0; i < sizeof(tensor->name) - 1 && name[i] != '\0'; i++) {
1846 tensor->name[i] = name[i];
1847 }
1848 tensor->name[i] = '\0';
1849 return tensor;
1850}
1851
1852struct ggml_tensor * ggml_format_name(struct ggml_tensor * tensor, const char * fmt, ...) {
1853 va_list args;

Callers 15

save_tensor_for_layerMethod · 0.85
build_v_diffMethod · 0.85
pca_modelMethod · 0.85
build_graph_piterFunction · 0.85
run_mergeMethod · 0.85
cbMethod · 0.85
build_inp_rawMethod · 0.85
load_tensorsMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85

Calls

no outgoing calls

Tested by 15

helper_get_ctx_dataFunction · 0.68
test_regressionFunction · 0.68
eval_gradMethod · 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