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. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/group/candidate-sampling-ops