Home
last modified time | relevance | path

Searched refs:sourceOperandIndex (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp230 std::string toString(SourceOperandIndex sourceOperandIndex) { in toString() argument
231 return "(" + std::to_string(sourceOperandIndex.first) + ", " + in toString()
232 std::to_string(sourceOperandIndex.second) + ")"; in toString()
326 void DynamicTemporaries::declare(SourceOperandIndex sourceOperandIndex, uint32_t stepIndex, in declare() argument
330 << toString(sourceOperandIndex) << ", stepIndex = " << stepIndex in declare()
338 sourceOperandIndex, InternalLocationAndShape{stepIndex, 0, initialDimensions, in declare()
341 mStepIndexToSourceOperandIndexes[stepIndex].emplace_back(sourceOperandIndex); in declare()
344 bool DynamicTemporaries::redeclare(SourceOperandIndex sourceOperandIndex, in redeclare() argument
346 auto createAndLogResult = [sourceOperandIndex, &newDimensions, newLength](bool changedShape) { in redeclare()
348 << toString(sourceOperandIndex) in redeclare()
[all …]
DExecutionPlan.h145 void declare(SourceOperandIndex sourceOperandIndex, uint32_t stepIndex,
158 bool redeclare(SourceOperandIndex sourceOperandIndex, const Dimensions& newDimensions,
190 std::optional<LocationAndShape> lookup(SourceOperandIndex sourceOperandIndex,
242 int addOperand(uint32_t sourceOperandIndex, uint32_t* stepOperandIndex, OperandKind kind);
718 void recordOutputDef(SourceOperandIndex sourceOperandIndex, uint32_t stepIndex);
719 void recordTemporaryDef(SourceOperandIndex sourceOperandIndex, uint32_t stepIndex);
787 const Operand& getSourceOperand(const std::pair<uint32_t, uint32_t>& sourceOperandIndex) const { in getSourceOperand() argument
789 .getModel(sourceOperandIndex.first) in getSourceOperand()
790 ->getOperand(sourceOperandIndex.second); in getSourceOperand()
DExecutionBuilder.h119 const Operand& getSourceOperand(const std::pair<uint32_t, uint32_t>& sourceOperandIndex) const { in getSourceOperand() argument
120 return getSourceModel(sourceOperandIndex.first)->getOperand(sourceOperandIndex.second); in getSourceOperand()
DExecutionBuilder.cpp1287 const auto sourceOperandIndex = SourceOperandIndex(sourceModelIndex, it->second); in updateOutputShapes() local
1289 << " sourceOperandIndex = (" << sourceOperandIndex.first << ", " in updateOutputShapes()
1290 << sourceOperandIndex.second << ") is a dynamic temporary"; in updateOutputShapes()
1292 const auto loc = mDynamicTemporaries->lookup(sourceOperandIndex, false); in updateOutputShapes()
1301 changedShape = mDynamicTemporaries->redeclare(sourceOperandIndex, in updateOutputShapes()
1307 sourceOperandIndex, from[i].dimensions, 2 * loc->paddedLength); in updateOutputShapes()