class SHAInet::CnnSynapse

Defined in:

shainet/cnn/cnn_synapse.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def clone #

[View source]
def gradient : Float64 #

[View source]
def gradient=(gradient : Float64) #

[View source]
def gradient_batch : Float64 #

[View source]
def gradient_batch=(gradient_batch : Float64) #

[View source]
def gradient_sum : Float64 #

[View source]
def gradient_sum=(gradient_sum : Float64) #

[View source]
def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]
def m_current : Float64 #

[View source]
def m_current=(m_current : Float64) #

[View source]
def m_prev : Float64 #

[View source]
def m_prev=(m_prev : Float64) #

[View source]
def prev_delta : Float64 #

[View source]
def prev_delta=(prev_delta : Float64) #

[View source]
def prev_delta_w : Float64 #

[View source]
def prev_delta_w=(prev_delta_w : Float64) #

[View source]
def prev_gradient : Float64 #

[View source]
def prev_gradient=(prev_gradient : Float64) #

[View source]
def prev_weight : Float64 #

[View source]
def prev_weight=(prev_weight : Float64) #

[View source]
def randomize_weight #

[View source]
def v_current : Float64 #

[View source]
def v_current=(v_current : Float64) #

[View source]
def v_prev : Float64 #

[View source]
def v_prev=(v_prev : Float64) #

[View source]
def weight : Float64 #

[View source]
def weight=(weight : Float64) #

[View source]