ONE - On-device Neural Engine
|
GraphBuilder for AvgPool2D operator. More...
#include <MaxPool2D.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 MaxPool2D.h.
|
overridevirtual |
Implements tflimport::GraphBuilder.
Definition at line 52 of file MaxPool2D.cpp.
References coco::DLinkedList< Child, Parent >::Head::append(), coco::UnaryOp::arg(), 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(), InstrBuilder::eval(), coco::Window2D::height(), coco::Stride2D::horizontal(), coco::Block::instr(), instr_builder(), coco::FeatureObject::layout(), coco::Padding2D::left(), OpBuilder::load(), tflimport::GraphBuilderContext::m(), m, op_builder(), coco::MaxPool2D::pad(), tflimport::pool2D_padding(), OpBuilder::pop(), coco::Padding2D::right(), tflimport::TensorContext::shape(), coco::MaxPool2D::stride(), tflimport::GraphBuilderContext::tensor(), coco::Padding2D::top(), coco::Stride2D::vertical(), coco::Window2D::width(), and coco::MaxPool2D::window().
|
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 MaxPool2D.cpp.