oa::MaxPool2d

MaxPool2d: 2D max pooling layer.

Inheritance

public Module

Public Methods

Matrix oa::MaxPool2d::forward(const Matrix & inInput)

Constructor & Destructor Documentation

oa::MaxPool2d::MaxPool2d( oa::I32 inKernelSize, oa::I32 inStride = -1, oa::I32 inPadding = 0 )
No public source comment is attached to this declaration.

Parameters

inKernelSize
oa::I32

inStride
oa::I32

Default: -1

inPadding
oa::I32

Default: 0

Public Method Documentation

Matrix oa::MaxPool2d::forward( const Matrix & inInput )
No public source comment is attached to this declaration.

Parameters

inInput
const Matrix &

Returns

Matrix

The declared return value.