ONE - On-device Neural Engine
|
Represents variable used in artifact. This variable can store inputs, outputs of network and temporary data. More...
#include <SequencedIR.h>
Public Types | |
enum class | Type { input , persistent , temporary } |
Data Fields | |
size_t | id |
Type | type |
std::string | name |
mir::Shape | shape |
Represents variable used in artifact. This variable can store inputs, outputs of network and temporary data.
Definition at line 41 of file SequencedIR.h.
|
strong |
input tensors of this type supposed to be set outside of artifact persistent tensors store data after inference process is over, this include NN outputs temporary tensors are not accessible outside artifact in any way, they are created and destructed on demand
Enumerator | |
---|---|
input | |
persistent | |
temporary |
Definition at line 49 of file SequencedIR.h.
size_t nnc::sir::TensorDescriptor::id |
Definition at line 56 of file SequencedIR.h.
std::string nnc::sir::TensorDescriptor::name |
Definition at line 58 of file SequencedIR.h.
mir::Shape nnc::sir::TensorDescriptor::shape |
Definition at line 60 of file SequencedIR.h.
Referenced by RandomDataGenerator.RandomDataGenerator::_gen_float32(), RandomDataGenerator.RandomDataGenerator::_gen_int16(), and RandomDataGenerator.RandomDataGenerator::_gen_uint8().
Type nnc::sir::TensorDescriptor::type |
Definition at line 57 of file SequencedIR.h.