컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: ComputeAccidentalHits:: 속성
#include <candidate_sampling_ops.h>
ComputeAccidentalHits 에 대한 선택적 속성 설정자입니다.
요약
공공 기능 |
---|
Seed (int64 x) | Seed 또는 Seed2가 0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다. |
Seed2 (int64 x) | 시드 충돌을 피하기 위한 두 번째 시드입니다. |
공개 속성
씨앗2_
int64 tensorflow::ops::ComputeAccidentalHits::Attrs::seed2_ = 0
씨앗_
int64 tensorflow::ops::ComputeAccidentalHits::Attrs::seed_ = 0
공공 기능
씨앗
TF_MUST_USE_RESULT Attrs tensorflow::ops::ComputeAccidentalHits::Attrs::Seed(
int64 x
)
Seed 또는 Seed2가 0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다.
그렇지 않으면 무작위 시드에 의해 시드됩니다.
기본값은 0
시드2
TF_MUST_USE_RESULT Attrs tensorflow::ops::ComputeAccidentalHits::Attrs::Seed2(
int64 x
)
시드 충돌을 피하기 위한 두 번째 시드입니다.
기본값은 0
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# tensorflow::ops::ComputeAccidentalHits::Attrs Struct Reference\n\ntensorflow::ops::ComputeAccidentalHits::Attrs\n=============================================\n\n`#include \u003ccandidate_sampling_ops.h\u003e`\n\nOptional attribute setters for [ComputeAccidentalHits](/versions/r1.15/api_docs/cc/class/tensorflow/ops/compute-accidental-hits#classtensorflow_1_1ops_1_1_compute_accidental_hits).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------|---------|\n| [seed2_](#structtensorflow_1_1ops_1_1_compute_accidental_hits_1_1_attrs_1a99fd3bb162e1986c80ce39b89719a1d1)` = 0` | `int64` |\n| [seed_](#structtensorflow_1_1ops_1_1_compute_accidental_hits_1_1_attrs_1a10c7cf573d98ea9544d254035f2fd6e3)` = 0` | `int64` |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Seed](#structtensorflow_1_1ops_1_1_compute_accidental_hits_1_1_attrs_1af10a5866bca140fdc513f5f56ee46756)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/compute-accidental-hits/attrs#structtensorflow_1_1ops_1_1_compute_accidental_hits_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_compute_accidental_hits_1_1_attrs_1aec5aeae0e57560e1629549e7d22a994c)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/compute-accidental-hits/attrs#structtensorflow_1_1ops_1_1_compute_accidental_hits_1_1_attrs) An second seed to avoid seed collision. |\n\nPublic attributes\n-----------------\n\n### seed2_\n\n```scdoc\nint64 tensorflow::ops::ComputeAccidentalHits::Attrs::seed2_ = 0\n``` \n\n### seed_\n\n```scdoc\nint64 tensorflow::ops::ComputeAccidentalHits::Attrs::seed_ = 0\n``` \n\nPublic functions\n----------------\n\n### Seed\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ComputeAccidentalHits::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::ComputeAccidentalHits::Attrs::Seed2(\n int64 x\n)\n``` \nAn second seed to avoid seed collision.\n\nDefaults to 0"]]