class SHAInet::FullyConnectedLayer

Defined in:

shainet/cnn/fc_layer.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(master_network : CNN, prev_layer : CNNLayer | ConvLayer, l_size : Int32, activation_function : ActivationFunction = SHAInet.none) #

[View source]

Instance Method Detail

def activate #

[View source]
def all_neurons : Array(SHAInet::Neuron) #

[View source]
def all_synapses : Array(SHAInet::Synapse) #

[View source]
def error_prop(batch : Bool = false) #

[View source]
def filters : Array(Filter) #

[View source]
def inspect(what : String) #

[View source]
def output : Array(Float64) #

[View source]
def prev_layer : CNNLayer | ConvLayer #

[View source]
def update_wb(learn_type : Symbol | String, batch : Bool = false) #

ameba:disable Metrics/CyclomaticComplexity


[View source]