Lines Matching refs:model
190 GeneratedModel model; in runRandomModel() local
191 createModel(*testModel, &model); in runRandomModel()
192 if (!model.isValid()) { in runRandomModel()
196 auto modelFinishResult = model.finish(); in runRandomModel()
212 model.getHandle(), &mDevice, 1, opsSupportedFlags.get()); in runRandomModel()
247 auto [compilationResult, compilation] = CreateCompilation(model, devices); in runRandomModel()
404 android::nn::generated_tests::GeneratedModel model; in OperationsSupportedByDevice() local
405 createModel(*testModel, &model); in OperationsSupportedByDevice()
406 if (!model.isValid()) { in OperationsSupportedByDevice()
410 auto modelFinishResult = model.finish(); in OperationsSupportedByDevice()
425 model.getHandle(), &mDevice, 1, opsSupportedFlags.get()); in OperationsSupportedByDevice()
470 CreateCompilation(const android::nn::generated_tests::GeneratedModel& model, in CreateCompilation() argument
474 return Compilation::createForDevices(&model, devices); in CreateCompilation()
476 return {android::nn::wrapper::Result::NO_ERROR, Compilation(&model)}; in CreateCompilation()