EvolveNet::Layer
Inherits JSON::Serializable < Reference < Object
Constructors
new(type : String, width : Int32, height : Int32, depth : Int32, function : String = "relu")
Sourcenew(pull : JSON::PullParser)
Sourcenew(type : String, size : Int32 = 0, function : String = "signoid")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
activate(parent : Layer)
Sourceactivate(data : Array(Number))
Sourceclone
Sourcedepth
Sourcedepth=(depth : Int32)
Sourcefunction
Sourcefunction=(function : String)
Sourceheight
Sourceheight=(height : Int32)
Sourcemutate(rate : Float64)
Sourceneurons
Sourceneurons=(neurons : Array(Neuron))
Sourcepunctuate(pos : Int32)
Sourcerandomize
Sourcesize
Sourcesize=(size : Int32)
Sourcetype
Sourcetype=(type : String)
Sourcewidth
Sourcewidth=(width : Int32)
Source