Lines Matching refs:testModel
66 void execute(const TestModel& testModel);
76 void CompatibilityLayerGeneratedTests::execute(const TestModel& testModel) { in execute() argument
78 createModel(testModel, mTestDynamicOutputShape, &model); in execute()
79 if (testModel.expectFailure && !model.isValid()) { in execute()
93 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in execute()
94 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in execute()
101 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in execute()
102 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in execute()
122 checkResults(testModel, outputs); in execute()
136 bool compatibleTest(const TestModel& testModel) { in compatibleTest() argument
145 if (testModel.hasControlFlow()) { in compatibleTest()
150 const TestSubgraph& mainSubgraph = testModel.main; in compatibleTest()
222 execute(testModel); in TEST_P()
227 execute(testModel); in TEST_P()
233 execute(testModel); in TEST_P()
237 [](const TestModel& testModel) { in __anon454801770402() argument
238 return !testModel.expectFailure && compatibleTest(testModel); in __anon454801770402()
242 [](const TestModel& testModel) { in __anon454801770502() argument
243 return !testModel.expectFailure && !compatibleTest(testModel); in __anon454801770502()
247 [](const TestModel& testModel) { in __anon454801770602() argument
248 return !testModel.expectFailure && !testModel.hasScalarOutputs(); in __anon454801770602()