ONE - On-device Neural Engine
Loading...
Searching...
No Matches
MaxPool2D.cpp File Reference
#include "MaxPool2D.h"
#include "internal/Pooling.h"

Go to the source code of this file.

Functions

bool maxPoolPrepare (const Shape &input, int32_t padding_left, int32_t padding_right, int32_t padding_top, int32_t padding_bottom, int32_t stride_width, int32_t stride_height, int32_t filter_width, int32_t filter_height, Shape *output)
 

Function Documentation

◆ maxPoolPrepare()

bool maxPoolPrepare ( const Shape input,
int32_t  padding_left,
int32_t  padding_right,
int32_t  padding_top,
int32_t  padding_bottom,
int32_t  stride_width,
int32_t  stride_height,
int32_t  filter_width,
int32_t  filter_height,
Shape output 
)

Definition at line 22 of file MaxPool2D.cpp.

26{
27 return genericPoolingPrepare(input, padding_left, padding_right, padding_top, padding_bottom,
28 stride_width, stride_height, filter_width, filter_height,
29 output);
30}
bool genericPoolingPrepare(const Shape &input, int32_t padding_left, int32_t padding_right, int32_t padding_top, int32_t padding_bottom, int32_t stride_width, int32_t stride_height, int32_t filter_width, int32_t filter_height, Shape *output)
Definition Pooling.cpp:23

References genericPoolingPrepare().