Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: RastgelePoissonV2:: Öznitelikler
#include <random_ops.h>
RandomPoissonV2 için isteğe bağlı öznitelik ayarlayıcılar.
Özet
Kamu işlevleri |
---|
Dtype (DataType x) | Varsayılan olarak DT_INT64'tür. |
Seed (int64 x) | seed veya seed2 sıfırdan farklı bir değere ayarlanmışsa, rastgele sayı üreteci verilen tohum tarafından tohumlanır. |
Seed2 (int64 x) | Tohum çarpışmasını önlemek için ikinci bir tohum. |
Genel özellikler
dtype_
DataType tensorflow::ops::RandomPoissonV2::Attrs::dtype_ = DT_INT64
tohum2_
int64 tensorflow::ops::RandomPoissonV2::Attrs::seed2_ = 0
tohum_
int64 tensorflow::ops::RandomPoissonV2::Attrs::seed_ = 0
Kamu işlevleri
Dtipi
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Dtype(
DataType x
)
Varsayılan olarak DT_INT64'tür.
Tohum
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Seed(
int64 x
)
seed
veya seed2
sıfırdan farklı bir değere ayarlanmışsa, rastgele sayı üreteci verilen tohum tarafından tohumlanır.
Aksi takdirde rastgele bir tohumla tohumlanır.
Varsayılanlar 0'dır
Tohum2
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Seed2(
int64 x
)
Tohum çarpışmasını önlemek için ikinci bir tohum.
Varsayılanlar 0'dır
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],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"]]