Lines Matching refs:testModel
43 Model createModel(const TestModel& testModel) { in createModel() argument
45 CHECK_EQ(testModel.referenced.size(), 0u); // Not supported in 1.0. in createModel()
46 hidl_vec<Operand> operands(testModel.main.operands.size()); in createModel()
48 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
49 const auto& op = testModel.main.operands[i]; in createModel()
74 hidl_vec<Operation> operations(testModel.main.operations.size()); in createModel()
75 std::transform(testModel.main.operations.begin(), testModel.main.operations.end(), in createModel()
84 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
85 const auto& op = testModel.main.operands[i]; in createModel()
106 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
107 const auto& op = testModel.main.operands[i]; in createModel()
118 .inputIndexes = testModel.main.inputIndexes, in createModel()
119 .outputIndexes = testModel.main.outputIndexes, in createModel()
126 void Execute(const sp<IDevice>& device, const TestModel& testModel) { in Execute() argument
127 const Model model = createModel(testModel); in Execute()
130 const Request request = context.createRequest(testModel); in Execute()
151 checkResults(testModel, outputs); in Execute()
182 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anon06a758020202() argument