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.
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.
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.
Base trait for all variable initializers.