Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Num::NN::MaxPoolLayer(T)
Inherits
Num::NN::Layer
<
Reference
<
Object
Constructors
new
(context :
Num::Grad::Context
(
T
), input_shape :
Array
(
Int
), kernel :
Tuple
(
Int
,
Int
), padding :
Tuple
(
Int
,
Int
), stride :
Tuple
(
Int
,
Int
))
Source
Instance methods
forward
(input :
Num::Grad::Variable
(
T
)) :
Num::Grad::Variable
(
T
)
Source
input_shape
Source
kernel
Source
output_shape
Source
padding
Source
stride
Source