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`.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output<W>
asOutput()
Returns the symbolic handle of the tensor.
static <W extends TNumber> StatelessRandomPoisson<W>
create(Scope scope, Operand<? extends TNumber> shape, Operand<? extends TNumber> seed, Operand<? extends TNumber> 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

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "StatelessRandomPoisson"

Public Methods

public Output<W> asOutput ()

Returns the symbolic handle of the 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<? extends TNumber> shape, Operand<? extends TNumber> seed, Operand<? extends TNumber> 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.