tf.raw_ops.RandomPoisson
Используйте RandomPoissonV2 вместо этого.
tf.raw_ops.RandomPoisson(
shape, rate, seed=0, seed2=0, name=None
)
| Аргументы | |
|---|---|
shape | A Tensor. Должен быть одним из следующих типов: int32, int64. |
rate | A Tensor. Должен быть одним из следующих типов: half, float32, float64. |
seed | Необязательный int. По умолчанию 0. |
seed2 | Необязательный int. По умолчанию 0. |
name | Название операции (необязательно). |
| Возвращаемое значение | |
|---|---|
A Tensor. Имеет тот же тип, что и rate. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/RandomPoisson