ONE - On-device Neural Engine
|
Pre-creates coco:Bags for each operands(tensors) More...
#include <TensorBags.h>
Public Member Functions | |
void | prepare (const tflite::SubGraph *graph, std::unique_ptr< coco::Module > &m) |
coco::Bag * | bag (int32_t tensor_id) |
std::map< uint32_t, coco::Bag * >::iterator | begin () |
std::map< uint32_t, coco::Bag * >::iterator | end () |
Pre-creates coco:Bags for each operands(tensors)
Definition at line 37 of file TensorBags.h.
|
inline |
Definition at line 52 of file TensorBags.h.
Referenced by tflimport::AvgPool2DGraphBuilder::build(), tflimport::ConcatenationGraphBuilder::build(), tflimport::DivGraphBuilder::build(), tflimport::MaxPool2DGraphBuilder::build(), tflimport::ReLUGraphBuilder::build(), tflimport::ReLU6GraphBuilder::build(), tflimport::ReshapeGraphBuilder::build(), tflimport::SubGraphBuilder::build(), tflimport::Conv2DGraphBuilder::build(), tflimport::DepthwiseConv2DGraphBuilder::build(), tflimport::set_module_inputs(), and tflimport::set_module_outputs().
|
inline |
Definition at line 55 of file TensorBags.h.
|
inline |
Definition at line 57 of file TensorBags.h.
|
inline |
Definition at line 40 of file TensorBags.h.
References tflimport::as_tensor_shape(), m, and size.