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