コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::すべての候補サンプラー::属性
#include <candidate_sampling_ops.h>
AllCandidateSamplerのオプションの属性セッター。
まとめ
公共機能 |
---|
Seed (int64 x) | シードまたはシード 2 のいずれかが 0 以外に設定されている場合、乱数ジェネレータには指定されたシードがシードされます。 |
Seed2 (int64 x) | シードの衝突を避けるための 2 番目のシード。 |
パブリック属性
シード2_
int64 tensorflow::ops::AllCandidateSampler::Attrs::seed2_ = 0
シード_
int64 tensorflow::ops::AllCandidateSampler::Attrs::seed_ = 0
公共機能
シード
TF_MUST_USE_RESULT Attrs tensorflow::ops::AllCandidateSampler::Attrs::Seed(
int64 x
)
シードまたはシード 2 のいずれかが 0 以外に設定されている場合、乱数ジェネレータには指定されたシードがシードされます。
それ以外の場合は、ランダム シードによってシードされます。
デフォルトは 0
シード2
TF_MUST_USE_RESULT Attrs tensorflow::ops::AllCandidateSampler::Attrs::Seed2(
int64 x
)
シードの衝突を避けるための 2 番目のシード。
デフォルトは 0
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# tensorflow::ops::AllCandidateSampler::Attrs Struct Reference\n\ntensorflow::ops::AllCandidateSampler::Attrs\n===========================================\n\n`#include \u003ccandidate_sampling_ops.h\u003e`\n\nOptional attribute setters for [AllCandidateSampler](/versions/r1.15/api_docs/cc/class/tensorflow/ops/all-candidate-sampler#classtensorflow_1_1ops_1_1_all_candidate_sampler).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------|---------|\n| [seed2_](#structtensorflow_1_1ops_1_1_all_candidate_sampler_1_1_attrs_1a106cce50bdfd551481bf8201c25b79e0)` = 0` | `int64` |\n| [seed_](#structtensorflow_1_1ops_1_1_all_candidate_sampler_1_1_attrs_1ae932ae96fe5974bab81fe2fd736e1f5d)` = 0` | `int64` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Seed](#structtensorflow_1_1ops_1_1_all_candidate_sampler_1_1_attrs_1a5d1d847987b55a7f774d7ab6622371c8)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/all-candidate-sampler/attrs#structtensorflow_1_1ops_1_1_all_candidate_sampler_1_1_attrs) If either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed. |\n| [Seed2](#structtensorflow_1_1ops_1_1_all_candidate_sampler_1_1_attrs_1a13f740f05760bf2cf33ba9b00f163546)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/all-candidate-sampler/attrs#structtensorflow_1_1ops_1_1_all_candidate_sampler_1_1_attrs) An second seed to avoid seed collision. |\n\nPublic attributes\n-----------------\n\n### seed2_\n\n```scdoc\nint64 tensorflow::ops::AllCandidateSampler::Attrs::seed2_ = 0\n``` \n\n### seed_\n\n```scdoc\nint64 tensorflow::ops::AllCandidateSampler::Attrs::seed_ = 0\n``` \n\nPublic functions\n----------------\n\n### Seed\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::AllCandidateSampler::Attrs::Seed(\n int64 x\n)\n``` \nIf either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed.\n\nOtherwise, it is seeded by a random seed.\n\nDefaults to 0 \n\n### Seed2\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::AllCandidateSampler::Attrs::Seed2(\n int64 x\n)\n``` \nAn second seed to avoid seed collision.\n\nDefaults to 0"]]