ONE - On-device Neural Engine
|
Go to the source code of this file.
Functions | |
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) |
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 at line 23 of file Pooling.cpp.
References ASSERT, computeOutSize(), getNumberOfDimensions(), and getSizeOfDimension().
Referenced by averagePoolPrepare(), and maxPoolPrepare().