MCPcopy Create free account
hub / github.com/Niko1221/Strata / quantize_q4_0_ref

Function quantize_q4_0_ref

engine/src/quant/act_ref.cpp:162–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160void quantize_q8_1_ref(const float* x, void* y, int64_t n) { q8_1_ref(x, (block_q8_1*) y, n); }
161void quantize_q8_K_ref(const float* x, void* y, int64_t n) { q8_K_ref(x, (block_q8_K*) y, n); }
162void quantize_q4_0_ref(const float* x, void* y, int64_t n) { q4_0_ref(x, (block_q4_0*) y, n); }
163
164namespace {
165const ActKernel kGenericAct[] = {

Callers 5

mtp_quant_q4_0Function · 0.85
mtp_quant_q4_0Function · 0.85
mainFunction · 0.85
test_dequantFunction · 0.85
test_boundaryFunction · 0.85

Calls 1

q4_0_refFunction · 0.85

Tested by 3

mainFunction · 0.68
test_dequantFunction · 0.68
test_boundaryFunction · 0.68