Home
last modified time | relevance | path

Searched refs:operationIndex (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp136 void markProcessed(uint32_t operationIndex, OperationReadyCallback cb);
148 for (uint32_t operationIndex = 0; operationIndex < operations.size(); operationIndex++) { in OperandTracker() local
149 const Operation& operation = operations[operationIndex]; in OperandTracker()
156 mOperandToOperations.emplace(operandIndex, operationIndex); in OperandTracker()
160 cb(operationIndex); in OperandTracker()
162 mUnknownInputCount[operationIndex] = count; in OperandTracker()
166 void OperandTracker::markProcessed(uint32_t operationIndex, OperationReadyCallback cb) { in markProcessed() argument
168 const Operation& operation = mModel->getOperations()[operationIndex]; in markProcessed()
515 int ExecutionStep::addOperation(int operationIndex) { in addOperation() argument
516 const Operation& operation = getSourceModel()->getOperation(operationIndex); in addOperation()
[all …]
DModelBuilder.cpp400 uint32_t operationIndex = operationCount(); in addOperation() local
401 if (operationIndex >= MAX_NUMBER_OF_OPERATIONS) { in addOperation()
814 for (uint32_t operationIndex = 0; operationIndex < operationCount(); operationIndex++) { in sortIntoRunOrder() local
815 uint32_t& count = unknownInputCount[operationIndex]; in sortIntoRunOrder()
817 for (uint32_t operandIndex : mOperations[operationIndex].inputs) { in sortIntoRunOrder()
823 std::pair<uint32_t, uint32_t>(operandIndex, operationIndex)); in sortIntoRunOrder()
827 opsReadyToRun.push_back(operationIndex); in sortIntoRunOrder()
DModelBuilder.h154 uint32_t operationIndex) const;
155 bool supportedByControlFlowInterpreter(uint32_t operationIndex) const;
159 bool isControlFlowOperationWithOperandOfUnknownSize(uint32_t operationIndex) const;
DManager.cpp310 for (size_t operationIndex = 0; operationIndex < supportedOperations.size(); operationIndex++) { in getSupportedOperations() local
311 if (!supportedOperations[operationIndex]) { in getSupportedOperations()
316 const Operation& operation = model.main.operations[operationIndex]; in getSupportedOperations()
336 supportedOperations[operationIndex] = false; in getSupportedOperations()
DExecutionPlan.h241 int addOperation(int operationIndex);
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp166 const uint32_t operationIndex = operationCount(); in addOperation() local
169 return operationIndex; in addOperation()
953 const uint32_t operationIndex = model.addOperation(operationPattern.mOperationType, in TEST_P() local
955 deadOperations.insert(operationIndex); in TEST_P()
957 [&deadOperands, operationIndex](uint32_t operandIndex) { in TEST_P()
958 deadOperands.insert(std::make_pair(operandIndex, operationIndex)); in TEST_P()
DTestPartitioning.cpp259 uint32_t operationIndex) { in lookupOperation() argument
260 const V1_3::Operation& operation = getOperation(operationIndex); in lookupOperation()
289 uint32_t operationIndex) { in lookupOperation() argument
297 [&model](uint32_t offset) { return &model.operandValues[offset]; }, operationIndex); in lookupOperation()