ONE - On-device Neural Engine
|
#include <IRBuilder.h>
Public Member Functions | |
InstrBuilder (coco::Module *module) | |
coco::Eval * | eval (coco::Object *out, coco::Op *op) const |
Create "Eval" instruction with a given "Object" and "Op". | |
InstrBuilder (coco::Module *module) | |
coco::Eval * | eval (coco::Object *out, coco::Op *op) const |
Create "Eval" instruction with a given "Object" and "Op". | |
coco::Copy * | copy (coco::Object *into, coco::Object *from) const |
Create "Copy" instruction with given two "Object". | |
Definition at line 147 of file IRBuilder.h.
|
inline |
Definition at line 150 of file IRBuilder.h.
|
inline |
Definition at line 136 of file IRBuilder.h.
|
inline |
Create "Copy" instruction with given two "Object".
Definition at line 161 of file IRBuilder.h.
References coco::InstrManager::create(), coco::Module::entity(), coco::Copy::from(), and coco::EntityManager::instr().
Referenced by tflimport::ConcatenationGraphBuilder::build(), tflimport::Conv2DGraphBuilder::build(), tflimport::DepthwiseConv2DGraphBuilder::build(), and tflimport::build_activation().
|
inline |
Create "Eval" instruction with a given "Object" and "Op".
Definition at line 162 of file IRBuilder.h.
References coco::InstrManager::create(), coco::Module::entity(), coco::EntityManager::instr(), and coco::Eval::op().
Referenced by caffeimport::BatchNormBuilder::build(), caffeimport::ConcatBuilder::build(), caffeimport::ConvolutionBuilder::build(), caffeimport::EltwiseBuilder::build(), caffeimport::PoolingBuilder::build(), caffeimport::ReLUBuilder::build(), caffeimport::ScaleBuilder::build(), tflimport::AvgPool2DGraphBuilder::build(), tflimport::ConcatenationGraphBuilder::build(), tflimport::DivGraphBuilder::build(), tflimport::MaxPool2DGraphBuilder::build(), tflimport::ReLUGraphBuilder::build(), tflimport::ReLU6GraphBuilder::build(), tflimport::SubGraphBuilder::build(), tflimport::Conv2DGraphBuilder::build(), tflimport::DepthwiseConv2DGraphBuilder::build(), and tflimport::build_activation().
|
inline |
Create "Eval" instruction with a given "Object" and "Op".
Definition at line 148 of file IRBuilder.h.
References coco::InstrManager::create(), coco::Module::entity(), coco::EntityManager::instr(), and coco::Eval::op().