class Num::NN::MaxPoolLayer(T)
- Num::NN::MaxPoolLayer(T)
- Num::NN::Layer(T)
- Reference
- Object
Defined in:
nn/layers/maxpool.crConstructors
Instance Method Summary
- #forward(input : Num::Grad::Variable(T)) : Num::Grad::Variable(T)
- #input_shape : Array(Int32)
- #kernel : Tuple(Int32, Int32)
- #output_shape : Array(Int32)
- #padding : Tuple(Int32, Int32)
- #stride : Tuple(Int32, Int32)
Instance methods inherited from class Num::NN::Layer(T)
forward(input : Num::Grad::Variable(T))
forward,
output_shape : Array(Int32)
output_shape,
variables : Array(Num::Grad::Variable(T))
variables
Constructor Detail
def self.new(context : Num::Grad::Context(T), input_shape : Array(Int), kernel : Tuple(Int, Int), padding : Tuple(Int, Int), stride : Tuple(Int, Int))
#