Home
last modified time | relevance | path

Searched refs:operationCount (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp166 const uint32_t operationIndex = operationCount(); in addOperation()
172 uint32_t operationCount() const { return mOperations.size(); } in operationCount() function in android::__anonc220281b0111::TestModel
452 out << "operationCount = " << stats.mBuilder->operationCount() in operator <<()
820 if ((model.operationCount() == 0) || in TEST_P()
824 std::min(0.3, (1 - double(model.operationCount()) / in TEST_P()
843 if (forceCommonRoot && (model.operationCount() != 0)) { in TEST_P()
847 CHECK(model.operationCount() == 0); in TEST_P()
872 const uint32_t existingOperationIndex = randUInt(model.operationCount()); in TEST_P()
982 for (uint32_t operationIdx = 0, operationCount = model.operationCount(); in TEST_P() local
983 operationIdx < operationCount; operationIdx++) { in TEST_P()
[all …]
DTestPartitioning.cpp1257 ASSERT_LT(model->operationCount(), kPseudoDefiningOperationBase); in buildDefinitionMap()
1258 for (uint32_t i = 0, e = model->operationCount(); i < e; i++) { in buildDefinitionMap()
1379 modelA->operationCount() != modelB->operationCount() || in compare()
1505 modelA->operationCount() + pseudoDefinitionCount != equivalentOperationsAToB.size()) { in compare()
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.cpp400 uint32_t operationIndex = operationCount(); in addOperation()
813 std::vector<uint32_t> unknownInputCount(operationCount()); in sortIntoRunOrder()
814 for (uint32_t operationIndex = 0; operationIndex < operationCount(); operationIndex++) { in sortIntoRunOrder()
DExecutionPlan.cpp2109 const size_t operationCount = mOperations.size(); in partitionTheWorkInternal() local
2114 << "operationCount = " << operationCount; in partitionTheWorkInternal()
2118 std::vector<int> bestDeviceForOperation(operationCount); in partitionTheWorkInternal()
2355 const size_t operationCount = mOperations.size(); in getPerformance() local
2356 for (size_t operationIndex = 0; operationIndex < operationCount; operationIndex++) { in getPerformance()
2497 const size_t operationCount = mOperations.size(); in findBestDeviceForEachOperation() local
2498 for (size_t operationIndex = 0; operationIndex < operationCount; operationIndex++) { in findBestDeviceForEachOperation()
DModelBuilder.h81 uint32_t operationCount() const { in operationCount() function
DManager.cpp282 const uint32_t operationCount = model.main.operations.size(); in getSupportedOperationsImpl() local
283 std::vector<bool> remappedSupported(operationCount, false); in getSupportedOperationsImpl()