|
ONE - On-device Neural Engine
|
Go to the source code of this file.
Data Structures | |
| struct | DataLocation |
| struct | Operand |
Enumerations | |
| enum class | OperandLifeTime : int32_t { TEMPORARY_VARIABLE = 0 , MODEL_INPUT = 1 , MODEL_OUTPUT = 2 , CONSTANT_COPY = 3 , CONSTANT_REFERENCE = 4 , NO_VALUE = 5 } |
Functions | |
| uint32_t | sizeOfData (const Operand &operand) |
|
strong |
| Enumerator | |
|---|---|
| TEMPORARY_VARIABLE | |
| MODEL_INPUT | |
| MODEL_OUTPUT | |
| CONSTANT_COPY | |
| CONSTANT_REFERENCE | |
| NO_VALUE | |
Definition at line 26 of file Operand.h.
|
inline |
Definition at line 56 of file Operand.h.
References Operand::dimensions, sizeOfData(), and Operand::type.
Referenced by reshapeGeneric(), ModelArgumentInfo::setFromMemory(), ModelArgumentInfo::setFromPointer(), ModelBuilder::setOperandValue(), ModelBuilder::setOperandValueFromMemory(), and sizeOfData().