Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
static 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
30
struct quantize_state_impl {
31
const llama_model & model;
Callers
1
llama_model_quantize_impl
Function · 0.70
Calls
1
write
Method · 0.45
Tested by
no test coverage detected