class EvolveNet::Layer

Included Modules

Defined in:

evolvenet/neuralnetwork.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, width : Int32, height : Int32, depth : Int32, function : String = "relu") #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(type : String, size : Int32 = 0, function : String = "signoid") #

[View source]

Instance Method Detail

def activate(parent : Layer) #

[View source]
def activate(data : Array(Number)) #

[View source]
def clone #

[View source]
def depth : Int32 #

[View source]
def depth=(depth : Int32) #

[View source]
def function : String #

[View source]
def function=(function : String) #

[View source]
def height : Int32 #

[View source]
def height=(height : Int32) #

[View source]
def mutate(rate : Float64) #

[View source]
def neurons : Array(Neuron) #

[View source]
def neurons=(neurons : Array(Neuron)) #

[View source]
def punctuate(pos : Int32) #

[View source]
def randomize #

[View source]
def size : Int32 #

[View source]
def size=(size : Int32) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]
def width : Int32 #

[View source]
def width=(width : Int32) #

[View source]