ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnc::sir::TensorDescriptor Struct Reference

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
 

Detailed Description

Represents variable used in artifact. This variable can store inputs, outputs of network and temporary data.

Definition at line 41 of file SequencedIR.h.

Member Enumeration Documentation

◆ Type

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.

Field Documentation

◆ id

size_t nnc::sir::TensorDescriptor::id

Definition at line 56 of file SequencedIR.h.

◆ name

std::string nnc::sir::TensorDescriptor::name

Definition at line 58 of file SequencedIR.h.

◆ shape

◆ type

Type nnc::sir::TensorDescriptor::type

Definition at line 57 of file SequencedIR.h.


The documentation for this struct was generated from the following file: