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

Function fillRandomGaussianFloats

pocs/vdot/vdot.cpp:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32static void fillRandomGaussianFloats(std::vector<float>& values, std::mt19937& rndm, float mean = 0) {
33 for (auto& v : values) v = mean + drawFromGaussianPdf(rndm);
34}
35
36// Copy-pasted from ggml.c
37#define QK4_0 32

Callers 1

mainFunction · 0.70

Calls 1

drawFromGaussianPdfFunction · 0.70

Tested by

no test coverage detected