Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Candidate Sampling Ops

Summary

Classes

tensorflow::ops::AllCandidateSampler

Generates labels for candidate sampling with a learned unigram distribution.

tensorflow::ops::ComputeAccidentalHits

Computes the ids of the positions in sampled_candidates that match true_labels.

tensorflow::ops::FixedUnigramCandidateSampler

Generates labels for candidate sampling with a learned unigram distribution.

tensorflow::ops::LearnedUnigramCandidateSampler

Generates labels for candidate sampling with a learned unigram distribution.

tensorflow::ops::LogUniformCandidateSampler

Generates labels for candidate sampling with a log-uniform distribution.

tensorflow::ops::UniformCandidateSampler

Generates labels for candidate sampling with a uniform distribution.