Lines Matching refs:testModel
108 const TestModel& testModel) { argument
110 static std::unique_ptr<MemoryAHWB> createConstantReferenceMemory(const TestModel& testModel) {
122 processSubgraph(testModel.main);
123 for (const TestSubgraph& subgraph : testModel.referenced) {
188 void createModel(const NnApiSupportLibrary* nnapi, const TestModel& testModel, argument
191 void createModel(const TestModel& testModel, bool testDynamicOutputShape, GeneratedModel* model) {
196 std::unique_ptr<MemoryAHWB> memory = createConstantReferenceMemory(nnapi, testModel);
198 std::unique_ptr<MemoryAHWB> memory = createConstantReferenceMemory(testModel);
203 refModels.reserve(testModel.referenced.size());
204 for (int i = 0; i < testModel.referenced.size(); ++i) {
208 std::vector<Model> refModels(testModel.referenced.size());
210 createModelFromSubgraph(testModel.main, testDynamicOutputShape, testModel.referenced, memory,
216 model->relaxComputationFloat32toFloat16(testModel.isRelaxed);
218 if (!testModel.expectFailure) {
223 void createRequest(const TestModel& testModel, Execution* execution, argument
229 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) {
230 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]];
236 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) {
237 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]];