MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_tensor_overhead

Function ggml_tensor_overhead

ggml.c:2076–2078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2074}
2075
2076size_t ggml_tensor_overhead(void) {
2077 return GGML_OBJECT_SIZE + GGML_TENSOR_SIZE;
2078}
2079
2080bool ggml_is_transposed(const struct ggml_tensor * tensor) {
2081 return tensor->nb[0] > tensor->nb[1];

Callers 15

ggml_graph_importFunction · 0.70
ggml_opt_initFunction · 0.70
gguf_init_from_fileFunction · 0.70
llama_kv_cache_initFunction · 0.70
llama_set_state_dataFunction · 0.70
load_loraFunction · 0.50
apply_loraFunction · 0.50
clip_model_loadFunction · 0.50
init_modelFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected