ONE - On-device Neural Engine
|
Class that observe and update operands. More...
#include <StaticShapeInferer.h>
Public Member Functions | |
OperandObserver (const std::vector< ir::Operand * > &operands) | |
Constructor of OperandObserver. | |
virtual | ~OperandObserver ()=default |
Destructor of OperandObserver. | |
void | updateShapes (const std::vector< ir::OperandInfo > &changed_operands_info, bool unpredictable=false) |
Update Shape and some OperandInfo of operands. | |
Class that observe and update operands.
Definition at line 34 of file StaticShapeInferer.h.
|
inline |
Constructor of OperandObserver.
operands | Operands to be updated |
Definition at line 42 of file StaticShapeInferer.h.
|
virtualdefault |
Destructor of OperandObserver.
void onert::compiler::OperandObserver::updateShapes | ( | const std::vector< ir::OperandInfo > & | changed_operands_info, |
bool | unpredictable = false |
||
) |
Update Shape and some OperandInfo of operands.
operands | Operands to be updated |
unpredictable | Whether runtime can predict shapes of operands in compilation time |
Definition at line 30 of file StaticShapeInferer.cc.