V - data type for output() outputpublic final class StatelessRandomUniformInt<V extends java.lang.Number> extends PrimitiveOp implements Operand<V>
The generated values follow a uniform distribution in the range `[minval, maxval)`.
The outputs are a deterministic function of `shape`, `seed`, `minval`, and `maxval`.
operation| Modifier and Type | Method | Description |
|---|---|---|
Output<V> |
asOutput() |
Returns the symbolic handle of a tensor.
|
static <V extends java.lang.Number,T extends java.lang.Number,U extends java.lang.Number> |
create(Scope scope,
Operand<T> shape,
Operand<U> seed,
Operand<V> minval,
Operand<V> maxval) |
Factory method to create a class to wrap a new StatelessRandomUniformInt operation to the graph.
|
Output<V> |
output() |
Random values with specified shape.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static <V extends java.lang.Number,T extends java.lang.Number,U extends java.lang.Number> StatelessRandomUniformInt<V> create(Scope scope, Operand<T> shape, Operand<U> seed, Operand<V> minval, Operand<V> maxval)
scope - current graph scopeshape - The shape of the output tensor.seed - 2 seeds (shape [2]).minval - Minimum value (inclusive, scalar).maxval - Maximum value (exclusive, scalar).public Output<V> asOutput()
OperandInputs 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.
asOutput in interface Operand<V extends java.lang.Number>OperationBuilder.addInput(Output)