Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

StatelessRandomUniformFullInt

public final class StatelessRandomUniformFullInt

Outputs deterministic pseudorandom random integers from a uniform distribution.

The generated values are uniform integers covering the whole range of `dtype`.

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

Public Methods

Output <V>
asOutput ()
Returns the symbolic handle of a tensor.
static <V extends Number, T extends Number, U extends Number> StatelessRandomUniformFullInt <V>
create ( Scope scope, Operand <T> shape, Operand <U> seed, Class<V> dtype)
Factory method to create a class wrapping a new StatelessRandomUniformFullInt 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 StatelessRandomUniformFullInt <V> create ( Scope scope, Operand <T> shape, Operand <U> seed, Class<V> dtype)

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

Parameters
scope current scope
shape The shape of the output tensor.
seed 2 seeds (shape [2]).
dtype The type of the output.
Returns
  • a new instance of StatelessRandomUniformFullInt

public Output <V> output ()

Random values with specified shape.