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

Function dump_row

engine/tests/quant/quant_parity.cpp:270–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270void dump_row(const Group& g, const char* who, int idx, uint64_t in, const void* out, size_t n) {
271 if (g.key == g_dump_key) std::printf("ROW %s %s %d %s %s\n", g.key.c_str(), who, idx, hex64(in).c_str(), hex_bytes(out, n).c_str());
272}
273
274// weights of `type`, `nrows` rows of n elements, quantized by ggml from gaussian floats of scale `amp`
275std::vector<uint8_t> make_rows(ggml_type type, int n, int nrows, Rng& r, float amp) {

Callers 4

test_dotFunction · 0.85
test_actFunction · 0.85
test_dequantFunction · 0.85
test_boundaryFunction · 0.85

Calls 2

hex64Function · 0.85
hex_bytesFunction · 0.85

Tested by

no test coverage detected