ONE - On-device Neural Engine
|
GraphBuilder for AvgPool2D operator. More...
#include <AveragePool2D.h>
Public Member Functions | |
bool | validate (const tflite::Operator *op) const override |
void | build (const tflite::Operator *op, GraphBuilderContext *) const override |
Public Member Functions inherited from tflimport::GraphBuilder | |
virtual | ~GraphBuilder () |
GraphBuilder for AvgPool2D operator.
Definition at line 30 of file AveragePool2D.h.
|
overridevirtual |
Implements tflimport::GraphBuilder.
Definition at line 52 of file AveragePool2D.cpp.
References coco::DLinkedList< Child, Parent >::Head::append(), morph::tflite::as_feature_shape(), tflimport::as_index_vector(), tflimport::TensorBags::bag(), coco::Object::bag(), tflimport::GraphBuilderContext::bags(), tflimport::GraphBuilderContext::block(), coco::Padding2D::bottom(), coco::FeatureLayouts::BHWC::create(), coco::AvgPool2D::divisor(), InstrBuilder::eval(), coco::Block::instr(), instr_builder(), coco::FeatureObject::layout(), coco::Padding2D::left(), OpBuilder::load(), tflimport::GraphBuilderContext::m(), m, op_builder(), coco::AvgPool2D::PaddingExcluded, tflimport::pool2D_padding(), OpBuilder::pop(), coco::Padding2D::right(), tflimport::TensorContext::shape(), tflimport::GraphBuilderContext::tensor(), and coco::Padding2D::top().
|
overridevirtual |
TODO Declare "validate" method as a pure virtual method
Q: Is it possible to validate T/F Lite model only with this interface?
Reimplemented from tflimport::GraphBuilder.
Definition at line 40 of file AveragePool2D.cpp.