ONE - On-device Neural Engine
|
#include <AvgPool2DOp.h>
Public Member Functions | |
AvgPool2DOp (Output *arg, const AvgPool2DOpAttributes &attributes) | |
Operation * | copyWithInputs (const std::vector< Output * > &inputs) override |
const std::vector< std::int32_t > & | getWindowSize () const |
const std::vector< std::int32_t > & | getStrides () const |
const std::vector< std::int32_t > & | getPaddingBefore () const |
const std::vector< std::int32_t > & | getPaddingAfter () const |
bool | getIncludePad () const |
DataFormat | getDataFormat () const |
const AvgPool2DOpAttributes & | getAttributes () const |
Public Member Functions inherited from mir::Operation | |
virtual | ~Operation ()=default |
Type | getType () const |
std::size_t | getId () const |
void | setId (std::size_t id) |
std::size_t | getNumInputs () const |
std::size_t | getNumOutputs () const |
std::deque< Output * > & | getInputs () |
const std::deque< Output * > & | getInputs () const |
std::deque< Output > & | getOutputs () |
const std::deque< Output > & | getOutputs () const |
Output * | getInput (std::size_t index) |
const Output * | getInput (std::size_t index) const |
Output * | getOutput (std::size_t index) |
const Output * | getOutput (std::size_t index) const |
const Shape & | getInputShape (std::size_t index) const |
const Shape & | getOutputShape (std::size_t index) const |
void | accept (IVisitor *v) |
Additional Inherited Members | |
Public Types inherited from mir::Operation | |
enum class | Type { HANDLE_OP } |
Protected Member Functions inherited from mir::Operation | |
Operation (Type type, const std::vector< Output * > &inputs, std::size_t num_outputs=1) | |
void | setOutputType (std::size_t index, const TensorType &type) |
Definition at line 31 of file AvgPool2DOp.h.
|
inline |
Definition at line 34 of file AvgPool2DOp.h.
|
inlineoverridevirtual |
Implements mir::Operation.
Definition at line 40 of file AvgPool2DOp.h.
|
inline |
Definition at line 57 of file AvgPool2DOp.h.
|
inline |
Definition at line 55 of file AvgPool2DOp.h.
References mir::AvgPool2DOpAttributes::data_format.
Referenced by mir2loco::Transformer::visit().
|
inline |
Definition at line 53 of file AvgPool2DOp.h.
References mir::AvgPool2DOpAttributes::include_pad.
Referenced by mir_interpreter::AvgPool2DImpl< uint8_t >::run(), mir_interpreter::AvgPool2DImpl< T >::run(), mir2loco::Transformer::visit(), nnc::AclCppOpGenerator::visit(), nnc::Serializer::visit(), and mir::DotNodeBuilder::visit().
|
inline |
Definition at line 51 of file AvgPool2DOp.h.
References mir::AvgPool2DOpAttributes::padding_after.
Referenced by mir_interpreter::AvgPool2DImpl< uint8_t >::run(), mir_interpreter::AvgPool2DImpl< T >::run(), mir2loco::Transformer::visit(), and mir::DotNodeBuilder::visit().
|
inline |
Definition at line 49 of file AvgPool2DOp.h.
References mir::AvgPool2DOpAttributes::padding_before.
Referenced by mir_interpreter::AvgPool2DImpl< uint8_t >::run(), mir_interpreter::AvgPool2DImpl< T >::run(), mir2loco::Transformer::visit(), and mir::DotNodeBuilder::visit().
|
inline |
Definition at line 47 of file AvgPool2DOp.h.
References mir::AvgPool2DOpAttributes::strides.
Referenced by mir_interpreter::AvgPool2DImpl< uint8_t >::run(), mir_interpreter::AvgPool2DImpl< T >::run(), mir2loco::Transformer::visit(), nnc::Serializer::visit(), and mir::DotNodeBuilder::visit().
|
inline |
Definition at line 45 of file AvgPool2DOp.h.
References mir::AvgPool2DOpAttributes::window.
Referenced by mir_interpreter::AvgPool2DImpl< uint8_t >::run(), mir_interpreter::AvgPool2DImpl< T >::run(), mir2loco::Transformer::visit(), nnc::Serializer::visit(), and mir::DotNodeBuilder::visit().