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

Method n_tensors

subprojects/llama.cpp/src/llama-model.cpp:7147–7149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7145}
7146
7147size_t llama_model::n_tensors() const {
7148 return tensors_by_name.size();
7149}
7150
7151size_t llama_model::n_devices() const {
7152 return devices.size();

Callers 1

graph_max_nodesMethod · 0.80

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected