|
ONE - On-device Neural Engine
|
Read-only no-template wrapper for 'Buffer'. Serves interface for input and output of 'Session'. More...
#include <NodeData.h>
Public Types | |
| template<typename T > | |
| using | Buffer = nncc::core::ADT::tensor::Buffer< T > |
| using | Shape = nncc::core::ADT::tensor::Shape |
Public Member Functions | |
| virtual | ~NodeData ()=default |
| virtual const loco::DataType & | dtype () const =0 |
| virtual const Shape * | shape () const =0 |
| virtual const Buffer< int32_t > * | as_s32_bufptr () const =0 |
| virtual const Buffer< float > * | as_f32_bufptr () const =0 |
Read-only no-template wrapper for 'Buffer'. Serves interface for input and output of 'Session'.
Definition at line 35 of file NodeData.h.
| using locomotiv::NodeData::Buffer = nncc::core::ADT::tensor::Buffer<T> |
Definition at line 37 of file NodeData.h.
Definition at line 38 of file NodeData.h.
|
virtualdefault |
|
pure virtual |
Implemented in locomotiv::NodeDataImpl.
Referenced by nnkit::support::moco::tf::OutputTensorContext::getConstFloatTensor().
|
pure virtual |
Implemented in locomotiv::NodeDataImpl.
|
pure virtual |
Implemented in locomotiv::NodeDataImpl.
|
pure virtual |