MCPcopy Create free account
hub / github.com/Tencent/embedx / NewUniformSampling

Function NewUniformSampling

src/sampler/sampling/uniform_sampling.cc:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57std::unique_ptr<Sampling> NewUniformSampling(const vec_float_t* probs) {
58 return UniformSampling::Create(probs);
59}
60
61} // namespace embedx

Callers 1

NewSamplingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected