StatelessRandomGammaV2

public final class StatelessRandomGammaV2

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

Public Methods

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

Inherited Methods

Public Methods

public Output<V> 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 StatelessRandomGammaV2<V> create (Scope scope, Operand<T> shape, Operand<U> seed, Operand<V> alpha)

Factory method to create a class wrapping a new StatelessRandomGammaV2 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 StatelessRandomGammaV2

public Output<V> output ()

Random values with specified shape.