class MXNet::Initializer::Normal

Overview

Initializes array with random values sampled from a normal distribution with a mean of zero and standard deviation of sigma.

Defined in:

mxnet/initializer.cr

Constructors

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(sigma = 0.01) #

Creates a new instance.

Parameters

  • sigma (Float, optional) Standard deviation of the normal distribution. The default standard deviation is 0.01.

[View source]

Instance Method Detail

def init_array(array) #

[View source]