V - data type for output() output@Operator public final class StatelessRandomNormal<V extends Number> extends PrimitiveOp implements Operand<V>
The generated values will have mean 0 and standard deviation 1.
The outputs are a deterministic function of `shape` and `seed`.
operation| Modifier and Type | Method and Description |
|---|---|
Output<V> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T extends Number,U extends Number> |
create(Scope scope,
Operand<T> shape,
Operand<U> seed)
Factory method to create a class to wrap a new StatelessRandomNormal operation to the graph, using default output types.
|
static <V extends Number,T extends Number,U extends Number> |
create(Scope scope,
Operand<T> shape,
Operand<U> seed,
Class<V> dtype)
Factory method to create a class to wrap a new StatelessRandomNormal operation to the graph.
|
Output<V> |
output()
Random values with specified shape.
|
equals, hashCode, toStringpublic static <V extends Number,T extends Number,U extends Number> StatelessRandomNormal<V> create(Scope scope, Operand<T> shape, Operand<U> seed, Class<V> dtype)
scope - current graph scopeshape - The shape of the output tensor.seed - 2 seeds (shape [2]).dtype - The type of the output.public static <T extends Number,U extends Number> StatelessRandomNormal<Float> create(Scope scope, Operand<T> shape, Operand<U> seed)
scope - current graph scopeshape - The shape of the output tensor.seed - 2 seeds (shape [2]).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 Number>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.