StatelessRandomGamma

public final class StatelessRandomGamma

Outputs deterministic pseudorandom random numbers from a gamma distribution.

Outputs random values from a gamma distribution.

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

Constants

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

Public Methods

Output<V>
asOutput()
Returns the symbolic handle of the tensor.
static <V extends TNumber> StatelessRandomGamma<V>
create(Scope scope, Operand<? extends TNumber> shape, Operand<? extends TNumber> seed, Operand<V> alpha)
Factory method to create a class wrapping a new StatelessRandomGamma operation.
Output<V>
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: "StatelessRandomGammaV2"

Public Methods

public Output<V> 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 StatelessRandomGamma<V> create (Scope scope, Operand<? extends TNumber> shape, Operand<? extends TNumber> seed, Operand<V> alpha)

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

Parameters
scope current scope
shape The shape of the output tensor.
seed 2 seeds (shape [2]).
alpha The concentration of the gamma distribution. Shape must match the rightmost dimensions of `shape`.
Returns
  • a new instance of StatelessRandomGamma

public Output<V> output ()

Random values with specified shape.