Lines Matching refs:testModel
87 static std::unique_ptr<MemoryAHWB> createConstantReferenceMemory(const TestModel& testModel) { in createConstantReferenceMemory() argument
98 processSubgraph(testModel.main); in createConstantReferenceMemory()
99 for (const TestSubgraph& subgraph : testModel.referenced) { in createConstantReferenceMemory()
158 void createModel(const TestModel& testModel, bool testDynamicOutputShape, GeneratedModel* model) { in createModel() argument
161 std::unique_ptr<MemoryAHWB> memory = createConstantReferenceMemory(testModel); in createModel()
163 std::vector<Model> refModels(testModel.referenced.size()); in createModel()
164 createModelFromSubgraph(testModel.main, testDynamicOutputShape, testModel.referenced, memory, in createModel()
170 model->relaxComputationFloat32toFloat16(testModel.isRelaxed); in createModel()
172 if (!testModel.expectFailure) { in createModel()
177 void createRequest(const TestModel& testModel, Execution* execution, in createRequest() argument
183 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
184 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
190 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
191 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()