جریان تنسور:: عملیات:: RandomPoissonV2:: Attrs
#include <random_ops.h>
تنظیم کننده های ویژگی اختیاری برای RandomPoissonV2 .
خلاصه
صفات عمومی | |
---|---|
dtype_ = DT_INT64 | DataType |
seed2_ = 0 | int64 |
seed_ = 0 | int64 |
توابع عمومی | |
---|---|
Dtype (DataType x) | TF_MUST_USE_RESULT Attrs پیشفرض DT_INT64 است. |
Seed (int64 x) | TF_MUST_USE_RESULT Attrs اگر seed یا seed2 غیر صفر باشد، مولد اعداد تصادفی توسط دانه داده شده بذر می شود. |
Seed2 (int64 x) | TF_MUST_USE_RESULT Attrs دانه دوم برای جلوگیری از برخورد دانه. |
صفات عمومی
dtype_
DataType tensorflow::ops::RandomPoissonV2::Attrs::dtype_ = DT_INT64
دانه 2_
int64 tensorflow::ops::RandomPoissonV2::Attrs::seed2_ = 0
دانه_
int64 tensorflow::ops::RandomPoissonV2::Attrs::seed_ = 0
توابع عمومی
نوع D
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Dtype( DataType x )
پیشفرض DT_INT64 است.
بذر
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Seed( int64 x )
اگر seed
یا seed2
غیر صفر باشد، مولد اعداد تصادفی توسط دانه داده شده بذر می شود.
در غیر این صورت، توسط یک بذر تصادفی بذر می شود.
پیشفرض 0 است
دانه 2
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Seed2( int64 x )
دانه دوم برای جلوگیری از برخورد دانه.
پیشفرض 0 است
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# tensorflow::ops::RandomPoissonV2::Attrs Struct Reference\n\ntensorflow::ops::RandomPoissonV2::Attrs\n=======================================\n\n`#include \u003crandom_ops.h\u003e`\n\nOptional attribute setters for [RandomPoissonV2](/versions/r1.15/api_docs/cc/class/tensorflow/ops/random-poisson-v2#classtensorflow_1_1ops_1_1_random_poisson_v2).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|------------|\n| [dtype_](#structtensorflow_1_1ops_1_1_random_poisson_v2_1_1_attrs_1af5e37fba5e53547e0571e7c80b8948b1)` = DT_INT64` | `DataType` |\n| [seed2_](#structtensorflow_1_1ops_1_1_random_poisson_v2_1_1_attrs_1a2c85360598ed2650e65d38834219dfc4)` = 0` | `int64` |\n| [seed_](#structtensorflow_1_1ops_1_1_random_poisson_v2_1_1_attrs_1ae90a1aba0a039f59fde8c789070ffe3c)` = 0` | `int64` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Dtype](#structtensorflow_1_1ops_1_1_random_poisson_v2_1_1_attrs_1a987ceae61e9b0d321f76d91ddac5447a)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-poisson-v2/attrs#structtensorflow_1_1ops_1_1_random_poisson_v2_1_1_attrs) Defaults to DT_INT64. |\n| [Seed](#structtensorflow_1_1ops_1_1_random_poisson_v2_1_1_attrs_1afefe4b2b95e899a44715c59de032a52e)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-poisson-v2/attrs#structtensorflow_1_1ops_1_1_random_poisson_v2_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_poisson_v2_1_1_attrs_1aa06a1ff8926df75b128ec0764a912f99)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/random-poisson-v2/attrs#structtensorflow_1_1ops_1_1_random_poisson_v2_1_1_attrs) A second seed to avoid seed collision. |\n\nPublic attributes\n-----------------\n\n### dtype_\n\n```carbon\nDataType tensorflow::ops::RandomPoissonV2::Attrs::dtype_ = DT_INT64\n``` \n\n### seed2_\n\n```scdoc\nint64 tensorflow::ops::RandomPoissonV2::Attrs::seed2_ = 0\n``` \n\n### seed_\n\n```scdoc\nint64 tensorflow::ops::RandomPoissonV2::Attrs::seed_ = 0\n``` \n\nPublic functions\n----------------\n\n### Dtype\n\n```carbon\nTF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Dtype(\n DataType x\n)\n``` \nDefaults to DT_INT64. \n\n### Seed\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::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::RandomPoissonV2::Attrs::Seed2(\n int64 x\n)\n``` \nA second seed to avoid seed collision.\n\nDefaults to 0"]]