Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Hoạt động lấy mẫu ứng viên
Bản tóm tắt
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# Candidate Sampling Ops\n======================\n\nSummary\n-------\n\n| ### Classes ||\n|--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| [tensorflow::ops::AllCandidateSampler](/versions/r2.1/api_docs/cc/class/tensorflow/ops/all-candidate-sampler) | Generates labels for candidate sampling with a learned unigram distribution. |\n| [tensorflow::ops::ComputeAccidentalHits](/versions/r2.1/api_docs/cc/class/tensorflow/ops/compute-accidental-hits) | Computes the ids of the positions in sampled_candidates that match true_labels. |\n| [tensorflow::ops::FixedUnigramCandidateSampler](/versions/r2.1/api_docs/cc/class/tensorflow/ops/fixed-unigram-candidate-sampler) | Generates labels for candidate sampling with a learned unigram distribution. |\n| [tensorflow::ops::LearnedUnigramCandidateSampler](/versions/r2.1/api_docs/cc/class/tensorflow/ops/learned-unigram-candidate-sampler) | Generates labels for candidate sampling with a learned unigram distribution. |\n| [tensorflow::ops::LogUniformCandidateSampler](/versions/r2.1/api_docs/cc/class/tensorflow/ops/log-uniform-candidate-sampler) | Generates labels for candidate sampling with a log-uniform distribution. |\n| [tensorflow::ops::UniformCandidateSampler](/versions/r2.1/api_docs/cc/class/tensorflow/ops/uniform-candidate-sampler) | Generates labels for candidate sampling with a uniform distribution. |"]]