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

Function NewAliasSampling

src/sampler/sampling/alias_sampling.cc:107–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107std::unique_ptr<Sampling> NewAliasSampling(const vec_float_t* probs) {
108 return AliasSampling::Create(*probs);
109}
110
111} // namespace embedx

Callers 1

NewSamplingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected