संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: रैंडमगामा:: Attrs
#include <random_ops.h>
RandomGamma के लिए वैकल्पिक विशेषता सेटर।
सारांश
सार्वजनिक समारोह |
---|
Seed (int64 x) | यदि seed या seed2 गैर-शून्य पर सेट किया गया है, तो यादृच्छिक संख्या जनरेटर को दिए गए बीज द्वारा बीजित किया जाता है। |
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 है
बीज2
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomGamma::Attrs::Seed2(
int64 x
)
बीज टकराव से बचने के लिए दूसरा बीज।
डिफ़ॉल्ट 0 है
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]