class MXNet::Initializer::Uniform
- MXNet::Initializer::Uniform
- MXNet::Initializer
- Reference
- Object
Overview
Initializes array with random values uniformly sampled from a given range.
Defined in:
mxnet/initializer.crConstructors
-
.new(scale = 0.07)
Creates a new instance.
Instance Method Summary
Instance methods inherited from class MXNet::Initializer
init_array(array : NDArray)
init_array
Class methods inherited from class MXNet::Initializer
create(initializer)
create
Constructor Detail
def self.new(scale = 0.07)
#
Creates a new instance.
Parameters
- scale (
Float
, optional) The bound on the range of the generated random values. Values are generated from the range[-scale, scale]
. Default scale is 0.07.