Lines Matching refs:testModel
109 const NnApiSupportLibrary* nnapi, const TestModel& testModel) { argument
112 const TestModel& testModel) {
124 processSubgraph(testModel.main);
125 for (const TestSubgraph& subgraph : testModel.referenced) {
189 void createModel(const NnApiSupportLibrary* nnapi, const TestModel& testModel, argument
192 void createModel(const TestModel& testModel, bool testDynamicOutputShape, GeneratedModel* model) {
197 std::unique_ptr<MemoryWithPointer> memory = createConstantReferenceMemory(nnapi, testModel);
199 std::unique_ptr<MemoryWithPointer> memory = createConstantReferenceMemory(testModel);
204 refModels.reserve(testModel.referenced.size());
205 for (int i = 0; i < testModel.referenced.size(); ++i) {
209 std::vector<Model> refModels(testModel.referenced.size());
211 createModelFromSubgraph(testModel.main, testDynamicOutputShape, testModel.referenced, memory,
217 model->relaxComputationFloat32toFloat16(testModel.isRelaxed);
219 if (!testModel.expectFailure) {
224 void createRequest(const TestModel& testModel, Execution* execution, argument
230 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) {
231 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]];
237 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) {
238 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]];