StatelessRandomUniformInt

Stay organized with collections Save and categorize content based on your preferences.
public final class StatelessRandomUniformInt

Outputs deterministic pseudorandom random integers from a uniform distribution.

The generated values follow a uniform distribution in the range `[minval, maxval)`.

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

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> StatelessRandomUniformInt<V>
create(Scope scope, Operand<? extends TNumber> shape, Operand<? extends TNumber> seed, Operand<V> minval, Operand<V> maxval)
Factory method to create a class wrapping a new StatelessRandomUniformInt 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: "StatelessRandomUniformInt"

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 StatelessRandomUniformInt<V> create (Scope scope, Operand<? extends TNumber> shape, Operand<? extends TNumber> seed, Operand<V> minval, Operand<V> maxval)

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

Parameters
scope current scope
shape The shape of the output tensor.
seed 2 seeds (shape [2]).
minval Minimum value (inclusive, scalar).
maxval Maximum value (exclusive, scalar).
Returns
  • a new instance of StatelessRandomUniformInt

public Output<V> output ()

Random values with specified shape.