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

Function zeros

smallthinker/src/llama-quant.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23static void zeros(std::ofstream & file, size_t n) {
24 char zero = 0;
25 for (size_t i = 0; i < n; ++i) {
26 file.write(&zero, 1);
27 }
28}
29
30struct quantize_state_impl {
31 const llama_model & model;

Callers 1

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected