class SHAInet::SoftmaxLayer

Defined in:

shainet/cnn/softmax_layer.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(prev_layer : FullyConnectedLayer | ReluLayer, range : Range(Int32, Int32) = (0..-1)) #

[View source]

Instance Method Detail

def activate #

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

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

Send the gradients from current layer backwards without weights


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

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

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

[View source]
def prev_layer : FullyConnectedLayer | ReluLayer #

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

[View source]