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

Method n_tensors

smallthinker/src/llama-model.cpp:4534–4536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4532}
4533
4534size_t llama_model::n_tensors() const {
4535 return tensors_by_name.size();
4536}
4537
4538size_t llama_model::n_devices() const {
4539 return devices.size();

Callers 1

graph_max_nodesMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected