class Neuratron::Optimizers::SGD

Defined in:

neuratron/optimizers/SGD.cr

Constructors

Instance Method Summary

Instance methods inherited from class Neuratron::Optimizer

batch_completed(changes) batch_completed, call(x_input, layers, expected, loss) : Array(LA::GMat) call

Constructor Detail

def self.new(learning_rate : Float64 = 0.1, momentum : Float64 = 0.0, decay : Float64 = 0.0) #

[View source]

Instance Method Detail

def call(x_input, layers, expected, loss) : Array(LA::GMat) #

SGD have too many responsabilities and may work only for Dense layers


[View source]