abstract class Neuratron::Layer
- Neuratron::Layer
- Reference
- Object
Direct Known Subclasses
Defined in:
neuratron/layer.crConstructors
Instance Method Summary
- #activation : Activation
- #call(input : LA::GMat)
- #compile
- #input_shape : Array(Int32)
- #input_shape=(input_shape : Array(Int32))
- #units : Array(Int32)
- #weight
- #weight=(w : Nil | LA::GeneralMatrix(Float64))
Constructor Detail
def self.new(units : Int32, input_shape : Array(Int32) = Array(Int32).new, initializer : Neuratron::Initializer = Initializers.zeros, activation : Neuratron::Activation = Activations::None.new)
#