org.platanios.tensorflow.api.ops.variables
Initial variance scale.
Variance scaling mode.
Distribution to use when sampling.
Optional random seed, used to generate a random seed pair for the random number generator, when combined with the graph-level seed.
Data type of the values produced by this initializer.
Data type of the values produced by this initializer. If null
, then the initializer may produce values of any
data type.
Distribution to use when sampling.
Initial variance scale.
Generates an initial value op.
Generates an initial value op.
Data type for the output tensor.
Shape for the output tensor.
PartitionInformation object holding additional information about how the variable is
partitioned. May be null
if the variable is not partitioned.
Created op output.
ShapeMismatchException
If the initializer cannot produce a value with the requested shape.
Variance scaling mode.
Optional random seed, used to generate a random seed pair for the random number generator, when combined with the graph-level seed.
Shape of the values produced by this initializer.
Shape of the values produced by this initializer. If null
, then the initializer may produce values of any
shape.
Initializer capable of adapting its scale to the shape of weights tensors.
With the Normal distribution option, samples are drawn from a truncated Normal distribution centered on zero, and with standard deviation equal to
sqrt(initialScale / n)
, wheren
is:mode == FanInScalingMode
,mode == FanOutScalingMode
, ormode == FanAverageScalingMode
With uniform distribution option, samples are drawn from a uniform distribution within
[-limit, limit]
, wherelimit = sqrt(3 * initialScale / n)
.