MCPcopy Create free account
hub / github.com/PABannier/sam3.cpp / sam3_name_tensorf

Function sam3_name_tensorf

sam3.cpp:1032–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1030}
1031
1032static void sam3_name_tensorf(struct ggml_tensor* t, const char* fmt, int index) {
1033 if (!t) {
1034 return;
1035 }
1036 char name[64];
1037 snprintf(name, sizeof(name), fmt, index);
1038 ggml_set_name(t, name);
1039}
1040
1041static struct ggml_tensor* sam3_layer_norm(struct ggml_context* ctx,
1042 struct ggml_tensor* x,

Callers 7

sam3_text_block_forwardFunction · 0.85
sam3_build_fenc_graphFunction · 0.85
sam3_build_ddec_graphFunction · 0.85
sam3_build_sam_dec_graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected