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

Function NewWord2vecSampling

src/sampler/sampling/word2vec_sampling.cc:139–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139std::unique_ptr<Sampling> NewWord2vecSampling(const vec_float_t* probs) {
140 return Word2vecSampling::Create(*probs);
141}
142
143} // namespace embedx

Callers 1

NewSamplingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected