ONE - On-device Neural Engine
|
Static Public Member Functions | |
static void | run (const mir::ops::AvgPool2DOp &op, const mir::TensorVariant &input_var, mir::TensorVariant &output) |
Definition at line 29 of file AvgPool2D.cpp.
|
static |
Definition at line 37 of file AvgPool2D.cpp.
References mir::Tensor< T >::at(), mir::Index::at(), mir::ShapeRange::contains(), mir::ops::AvgPool2DOp::getIncludePad(), mir::Operation::getInputShape(), mir::Operation::getOutputShape(), mir::ops::AvgPool2DOp::getPaddingAfter(), mir::ops::AvgPool2DOp::getPaddingBefore(), mir::TensorVariant::getShape(), mir::ops::AvgPool2DOp::getStrides(), mir::ops::AvgPool2DOp::getWindowSize(), output_shape, and mir::Shape::rank().
Referenced by package.infer.session::inference().