Searched defs:operationIndex (Results 1 - 4 of 4) sorted by relevance

/frameworks/ml/nn/runtime/
H A DModelBuilder.cpp217 uint32_t operationIndex = operationCount(); local
218 if (operationIndex >= MAX_NUMBER_OF_OPERATIONS) {
351 for (uint32_t operationIndex = 0; operationIndex < operationCount(); operationIndex++) {
352 uint32_t& count = unknownInputCount[operationIndex];
354 for (uint32_t operandIndex : mOperations[operationIndex].inputs) {
360 std::pair<uint32_t, uint32_t>(operandIndex, operationIndex));
364 opsReadyToRun.push_back(operationIndex);
H A DExecutionPlan.cpp86 void markProcessed(uint32_t operationIndex, OperationReadyCallback cb);
98 for (uint32_t operationIndex = 0; operationIndex < operations.size(); operationIndex++) {
99 const Operation& operation = operations[operationIndex];
107 std::pair<uint32_t, uint32_t>(operandIndex, operationIndex));
111 cb(operationIndex);
113 mUnknownInputCount[operationIndex] = count;
117 void OperandTracker::markProcessed(uint32_t operationIndex, OperationReadyCallback cb) { argument
119 const Operation& operation = mModel->getOperations()[operationIndex];
229 addOperation(int operationIndex, const ModelBuilder& fromModel) argument
860 uint32_t operationIndex = queue.front(); local
[all...]
/frameworks/ml/nn/runtime/test/
H A DTestPartitioning.cpp154 uint32_t operationIndex) {
155 const Operation& operation = getOperation(operationIndex);
180 uint32_t lookupOperation(const HidlModel& model, uint32_t operationIndex) { argument
189 operationIndex); member in namespace:__anon1347
151 lookupOperation(std::function<const Operation&(uint32_t)> getOperation, std::function<const Operand&(uint32_t)> getOperand, std::function<const uint8_t*(uint32_t)> getValue, uint32_t operationIndex) argument
H A DTestPartitioningRandom.cpp155 const uint32_t operationIndex = operationCount(); local
158 return operationIndex;
815 const uint32_t operationIndex = local
818 deadOperations.insert(operationIndex);
820 [&deadOperands, operationIndex](uint32_t operandIndex) {
821 deadOperands.insert(std::make_pair(operandIndex, operationIndex));

Completed in 64 milliseconds