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

Method get_tensor_meta

llama.cpp:2039–2041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2037 }
2038
2039 struct ggml_tensor * get_tensor_meta(int i) const {
2040 return ggml_get_tensor(ctx_meta, get_tensor_name(i));
2041 }
2042
2043 void calc_sizes(size_t & ctx_size_p, size_t & mmapped_size_p) const {
2044 ctx_size_p = 0;

Callers 2

Calls 2

ggml_get_tensorFunction · 0.70
get_tensor_nameFunction · 0.50

Tested by

no test coverage detected