Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp190 std::string toString(SourceOperandIndex sourceOperandIndex) { in toString() argument
191 return "(" + std::to_string(sourceOperandIndex.first) + ", " + in toString()
192 std::to_string(sourceOperandIndex.second) + ")"; in toString()
286 void DynamicTemporaries::declare(SourceOperandIndex sourceOperandIndex, uint32_t stepIndex, in declare() argument
290 << toString(sourceOperandIndex) << ", stepIndex = " << stepIndex in declare()
298 sourceOperandIndex, InternalLocationAndShape{stepIndex, 0, initialDimensions, in declare()
301 mStepIndexToSourceOperandIndexes[stepIndex].emplace_back(sourceOperandIndex); in declare()
304 bool DynamicTemporaries::redeclare(SourceOperandIndex sourceOperandIndex, in redeclare() argument
306 auto createAndLogResult = [sourceOperandIndex, &newDimensions, newLength](bool changedShape) { in redeclare()
308 << 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.h112 const Operand& getSourceOperand(const std::pair<uint32_t, uint32_t>& sourceOperandIndex) const { in getSourceOperand() argument
113 return getSourceModel(sourceOperandIndex.first)->getOperand(sourceOperandIndex.second); in getSourceOperand()
DExecutionBuilder.cpp1240 const auto sourceOperandIndex = SourceOperandIndex(sourceModelIndex, it->second); in updateOutputShapes() local
1242 << " sourceOperandIndex = (" << sourceOperandIndex.first << ", " in updateOutputShapes()
1243 << sourceOperandIndex.second << ") is a dynamic temporary"; in updateOutputShapes()
1245 const auto loc = mDynamicTemporaries->lookup(sourceOperandIndex, false); in updateOutputShapes()
1254 changedShape = mDynamicTemporaries->redeclare(sourceOperandIndex, in updateOutputShapes()
1260 sourceOperandIndex, from[i].dimensions, 2 * loc->paddedLength); in updateOutputShapes()