컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: 무작위감마:: 속성
#include <random_ops.h>
RandomGamma 에 대한 선택적 속성 설정자입니다.
요약
공공 기능 |
---|
Seed (int64 x) | seed 또는 seed2 0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다. |
Seed2 (int64 x) | 시드 충돌을 피하기 위한 두 번째 시드입니다. |
공개 속성
씨앗2_
int64 tensorflow::ops::RandomGamma::Attrs::seed2_ = 0
씨앗_
int64 tensorflow::ops::RandomGamma::Attrs::seed_ = 0
공공 기능
씨앗
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomGamma::Attrs::Seed(
int64 x
)
seed
또는 seed2
0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다.
그렇지 않으면 무작위 시드에 의해 시드됩니다.
기본값은 0입니다.
시드2
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomGamma::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::RandomGamma::Attrs Struct Reference\n\ntensorflow::ops::RandomGamma::Attrs\n===================================\n\n`#include \u003crandom_ops.h\u003e`\n\nOptional attribute setters for [RandomGamma](/versions/r1.15/api_docs/cc/class/tensorflow/ops/random-gamma#classtensorflow_1_1ops_1_1_random_gamma).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------|---------|\n| [seed2_](#structtensorflow_1_1ops_1_1_random_gamma_1_1_attrs_1a031cb091ec0798df6524cf0587ac20f2)` = 0` | `int64` |\n| [seed_](#structtensorflow_1_1ops_1_1_random_gamma_1_1_attrs_1aef6eba784ccd60b0b640c6fa2f19d662)` = 0` | `int64` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Seed](#structtensorflow_1_1ops_1_1_random_gamma_1_1_attrs_1a8058868cb9c9973929ced3198b40155d)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-gamma/attrs#structtensorflow_1_1ops_1_1_random_gamma_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_random_gamma_1_1_attrs_1a3291a6d1283b8defce2f97595c31833f)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-gamma/attrs#structtensorflow_1_1ops_1_1_random_gamma_1_1_attrs) A second seed to avoid seed collision. |\n\nPublic attributes\n-----------------\n\n### seed2_\n\n```scdoc\nint64 tensorflow::ops::RandomGamma::Attrs::seed2_ = 0\n``` \n\n### seed_\n\n```scdoc\nint64 tensorflow::ops::RandomGamma::Attrs::seed_ = 0\n``` \n\nPublic functions\n----------------\n\n### Seed\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::RandomGamma::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::RandomGamma::Attrs::Seed2(\n int64 x\n)\n``` \nA second seed to avoid seed collision.\n\nDefaults to 0"]]