Searched refs:elseModel (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | TestPartitioning.cpp | 3179 models.push_back(std::move(elseModel)); in createIfModel() 3486 auto elseModel = std::make_unique<PartitioningModel>(); in TEST_F() local 3487 const uint32_t elseOpnd0 = elseModel->addFloatOperand(); in TEST_F() 3488 const uint32_t elseOpnd1 = elseModel->addFloatOperand(); in TEST_F() 3491 elseModel->finish(); in TEST_F() 3492 EXPECT_TRUE(elseModel->isValid()); in TEST_F() 3622 auto elseModel = std::make_unique<PartitioningModel>(); in TEST_F() local 3623 const uint32_t elseOpnd0 = elseModel->addFloatOperand(); in TEST_F() 3624 const uint32_t elseOpnd1 = elseModel->addFloatOperand(); in TEST_F() 3627 elseModel->finish(); in TEST_F() [all …]
|
H A D | TestValidateOperations.cpp | 4483 const ANeuralNetworksModel* elseModel, bool testMutations) { in testIf() argument 4495 test.setInputOperandValueFromModel(kElseOperand, elseModel); in testIf() 4510 ANeuralNetworksModel* elseModel = makeIdentityModel(&elseDataType); in testIf() local 4511 testIf(outerDims, thenModel, elseModel, testMutations); in testIf() 4513 ANeuralNetworksModel_free(elseModel); in testIf()
|
/aosp12/packages/modules/NeuralNetworks/runtime/ |
H A D | ExecutionPlan.cpp | 2226 const ModelBuilder* elseModel = getReferencedModel(elseOperand); in partitionTheWorkInternal() local 2228 uint32_t elseModelIndex = sourceModels->addModel(elseModel); in partitionTheWorkInternal() 2245 NN_RETURN_IF_ERROR(elseModel->partitionTheWorkInternal( in partitionTheWorkInternal() 2268 for (uint32_t i = 0, n = elseModel->inputCount(); i < n; ++i) { in partitionTheWorkInternal() 2270 elseModelIndex, elseModel->getInputOperandIndex(i)); in partitionTheWorkInternal() 2272 for (uint32_t i = 0, n = elseModel->outputCount(); i < n; ++i) { in partitionTheWorkInternal() 2375 const ModelBuilder* elseModel = getReferencedModel(elseOperand); in getPerformance() local 2378 elseModel->getPerformance(preference, device)); in getPerformance() 2432 const ModelBuilder* elseModel = getReferencedModel(elseOperand); in isControlFlowOperationWithOperandOfUnknownSize() local 2437 containsUnknownSize(elseModel, elseModel->getInputOperandIndexes()) || in isControlFlowOperationWithOperandOfUnknownSize() [all …]
|