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

Function ggml_tensor_overhead

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

Source from the content-addressed store, hash-verified

1389}
1390
1391size_t ggml_tensor_overhead(void) {
1392 return GGML_OBJECT_SIZE + GGML_TENSOR_SIZE;
1393}
1394
1395bool ggml_is_transposed(const struct ggml_tensor * tensor) {
1396 return tensor->nb[0] > tensor->nb[1];

Callers 15

save_tensor_for_layerMethod · 0.85
train_contextMethod · 0.85
pca_modelMethod · 0.85
build_graph_piterFunction · 0.85
lora_merge_ctxMethod · 0.85
merge_tensorMethod · 0.85
load_tensorsMethod · 0.85
alloc_compute_metaMethod · 0.85
save_imatrixMethod · 0.85
weight_buft_supportedFunction · 0.85
load_tensorsMethod · 0.85

Calls

no outgoing calls

Tested by 10

helper_get_ctx_dataFunction · 0.68
test_regressionFunction · 0.68
mainFunction · 0.68
make_contextFunction · 0.68
evalMethod · 0.68
eval_perfMethod · 0.68
eval_supportMethod · 0.68
eval_gradMethod · 0.68
show_test_coverageFunction · 0.68
get_random_gguf_contextFunction · 0.68