ONE - On-device Neural Engine
|
Static Public Member Functions | |
static void | run (const mir::TensorVariant &inputv, const mir::ops::MaxPool2DOp &op, mir::TensorVariant &result) |
Definition at line 30 of file MaxPool2D.cpp.
|
static |
Definition at line 37 of file MaxPool2D.cpp.
References mir::Tensor< T >::at(), mir::Index::at(), mir::ShapeRange::contains(), mir::Operation::getInputShape(), mir::Operation::getOutputShape(), mir::ops::MaxPool2DOp::getPaddingAfter(), mir::ops::MaxPool2DOp::getPaddingBefore(), mir::ops::MaxPool2DOp::getStrides(), mir::ops::MaxPool2DOp::getWindowSize(), and output_shape.
Referenced by package.infer.session::inference().