StatelessRandomPoisson

public final class StatelessRandomPoisson

Outputs deterministic pseudorandom random numbers from a Poisson distribution.

Outputs random values from a Poisson distribution.

The outputs are a deterministic function of `shape`, `seed`, and `lam`.

Public Methods

Output<W>
asOutput()
Returns the symbolic handle of a tensor.
static <W extends Number, T extends Number, U extends Number, V extends Number> StatelessRandomPoisson<W>
create(Scope scope, Operand<T> shape, Operand<U> seed, Operand<V> lam, Class<W> dtype)
Factory method to create a class wrapping a new StatelessRandomPoisson operation.
Output<W>
output()
Random values with specified shape.

Inherited Methods

Public Methods

public Output<W> asOutput ()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static StatelessRandomPoisson<W> create (Scope scope, Operand<T> shape, Operand<U> seed, Operand<V> lam, Class<W> dtype)

Factory method to create a class wrapping a new StatelessRandomPoisson operation.

Parameters
scope current scope
shape The shape of the output tensor.
seed 2 seeds (shape [2]).
lam The rate of the Poisson distribution. Shape must match the rightmost dimensions of `shape`.
dtype The type of the output.
Returns
  • a new instance of StatelessRandomPoisson

public Output<W> output ()

Random values with specified shape.