Home
last modified time | relevance | path

Searched defs:testModel (Results 1 – 25 of 28) sorted by relevance

12

/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestGenerated.cpp219 static void copyResultsFromDeviceMemories(const TestModel& testModel, in copyResultsFromDeviceMemories()
302 const TestModel& testModel) { in executeWithCompilation()
317 const TestModel& testModel) { in validateCompilationMemoryPreferences()
341 void GeneratedTests::executeOnce(const Model& model, const TestModel& testModel) { in executeOnce()
351 const TestModel& testModel) { in executeMultithreadedOwnCompilation()
377 void GeneratedTests::execute(const TestModel& testModel) { in execute()
496 INSTANTIATE_GENERATED_TEST(DynamicOutputShapeTest, [](const TestModel& testModel) { in __anon6a3529560902()
500 INSTANTIATE_GENERATED_TEST(GeneratedValidationTests, [](const TestModel& testModel) { in __anon6a3529560a02()
504 INSTANTIATE_GENERATED_TEST(QuantizationCouplingTest, [](const TestModel& testModel) { in __anon6a3529560b02()
509 INSTANTIATE_GENERATED_TEST(DeviceMemoryTest, [](const TestModel& testModel) { in __anon6a3529560c02()
[all …]
H A DSupportLibraryTestGenerated.cpp244 void computeWithPtrs(const TestModel& testModel, Execution* execution, in computeWithPtrs()
347 const TestModel& testModel) { in executeWithCompilation()
388 void GeneratedTests::executeOnce(const Model& model, const TestModel& testModel) { in executeOnce()
421 const TestModel& testModel) { in executeMultithreadedOwnCompilation()
433 const TestModel& testModel) { in executeMultithreadedSharedCompilation()
473 void GeneratedTests::execute(const TestModel& testModel) { in execute()
593 INSTANTIATE_GENERATED_TEST(DynamicOutputShapeTest, [](const TestModel& testModel) { in __anon8752d1880b02()
597 INSTANTIATE_GENERATED_TEST(GeneratedValidationTests, [](const TestModel& testModel) { in __anon8752d1880c02()
601 INSTANTIATE_GENERATED_TEST(QuantizationCouplingTest, [](const TestModel& testModel) { in __anon8752d1880d02()
606 INSTANTIATE_GENERATED_TEST(DeviceMemoryTest, [](const TestModel& testModel) { in __anon8752d1880e02()
[all …]
H A DGeneratedTestUtils.h89 inline void createModel(const NnApiSupportLibrary* nnapi, const test_helper::TestModel& testModel, in createModel()
96 inline void createModel(const test_helper::TestModel& testModel, GeneratedModel* model) { in createModel()
H A DGeneratedTestUtils.cpp108 const TestModel& testModel) {
188 void createModel(const NnApiSupportLibrary* nnapi, const TestModel& testModel,
223 void createRequest(const TestModel& testModel, Execution* execution,
H A DTestCompliance.cpp242 INSTANTIATE_GENERATED_TEST(GeneratedComplianceTest, [](const TestModel& testModel) { in __anon209684820202()
/aosp12/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
H A DFuzzTest.cpp43 std::optional<Model> CreateModel(const TestModel& testModel) { in CreateModel()
104 const TestModel& testModel) { in CreateExecution()
130 void nnapiFuzzTest(const TestModel& testModel) { in nnapiFuzzTest()
H A DFuzzHarness.cpp50 const TestModel testModel = convertToTestModel(model); in DEFINE_PROTO_FUZZER() local
H A DDriverFuzzTest.cpp135 V1_3::Model createModel(const TestModel& testModel) { in createModel()
178 V1_3::Request createRequest(const TestModel& testModel) { in createRequest()
307 void nnapiFuzzTest(const TestModel& testModel) { in nnapiFuzzTest()
H A DGenerateCorpus.cpp180 const auto filter = [](const TestModel& testModel) { return !testModel.expectFailure; }; in main()
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A DGeneratedTestHarness.cpp86 const TestModel& testModel) in DeviceMemoryAllocator()
249 Model createModel(const TestModel& testModel) { in createModel()
297 static bool isOutputSizeGreaterThanOne(const TestModel& testModel, uint32_t index) { in isOutputSizeGreaterThanOne()
348 std::optional<Request> ExecutionContext::createRequest(const TestModel& testModel, in createRequest()
516 static bool hasZeroSizedOutput(const TestModel& testModel) { in hasZeroSizedOutput()
525 const TestModel& testModel, const TestConfig& testConfig, in EvaluatePreparedModel()
768 const TestModel& testModel, TestKind testKind) { in EvaluatePreparedModel()
825 const TestModel& testModel, in EvaluatePreparedCoupledModels()
857 void Execute(const std::shared_ptr<IDevice>& device, const TestModel& testModel, in Execute()
970 INSTANTIATE_GENERATED_TEST(DynamicOutputShapeTest, [](const TestModel& testModel) { in __anon8cc611d90702()
[all …]
H A DQualityOfServiceTests.cpp223 const TestModel& testModel, const Request& request, in runExecutionTest()
280 const TestModel& testModel, const Request& request, in runExecutionTests()
290 void runTests(const std::shared_ptr<IDevice>& device, const TestModel& testModel) { in runTests()
315 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anone5e135f80302()
H A DCompilationCachingTests.cpp419 const Model* model, const TestModel& testModel) { in verifyModelPreparationBehaviour()
484 const TestModel& testModel = createTestModel(); in TEST_P() local
525 const TestModel& testModel = createTestModel(); in TEST_P() local
586 const TestModel& testModel = createTestModel(); in TEST_P() local
663 const TestModel& testModel = createTestModel(); in TEST_P() local
724 const TestModel& testModel = createTestModel(); in TEST_P() local
765 const TestModel& testModel = createTestModel(); in TEST_P() local
1082 const TestModel& testModel = createTestModel(); in testCorruptedCache() local
H A DUtils.cpp180 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
H A DMemoryDomainTests.cpp69 void createDummyData(TestModel* testModel) { in createDummyData()
243 const TestModel testModel = createConvModel(testOperand, numOperations); in createConvPreparedModel() local
251 const TestModel testModel = createSingleAddModel(testOperand); in createAddPreparedModel() local
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/
H A DGeneratedTestHarness.cpp107 const TestModel& testModel) in DeviceMemoryAllocator()
276 Model createModel(const TestModel& testModel) { in createModel()
319 static bool isOutputSizeGreaterThanOne(const TestModel& testModel, uint32_t index) { in isOutputSizeGreaterThanOne()
360 std::optional<Request> ExecutionContextV1_3::createRequest(const TestModel& testModel, in createRequest()
513 static bool hasZeroSizedOutput(const TestModel& testModel) { in hasZeroSizedOutput()
552 const TestModel& testModel, const TestConfig& testConfig, in EvaluatePreparedModel()
789 const TestModel& testModel, TestKind testKind) { in EvaluatePreparedModel()
847 const TestModel& testModel, in EvaluatePreparedCoupledModels()
991 INSTANTIATE_GENERATED_TEST(DynamicOutputShapeTest, [](const TestModel& testModel) { in __anond5a3e5f10a02()
1001 INSTANTIATE_GENERATED_TEST(QuantizationCouplingTest, [](const TestModel& testModel) { in __anond5a3e5f10d02()
[all …]
H A DQualityOfServiceTests.cpp216 void runExecutionTest(const sp<IPreparedModel>& preparedModel, const TestModel& testModel, in runExecutionTest()
273 void runExecutionTests(const sp<IPreparedModel>& preparedModel, const TestModel& testModel, in runExecutionTests()
283 void runTests(const sp<IDevice>& device, const TestModel& testModel) { in runTests()
308 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anon4a798d100502()
H A DCompilationCachingTests.cpp426 const TestModel& testModel = createTestModel(); in TEST_P() local
466 const TestModel& testModel = createTestModel(); in TEST_P() local
528 const TestModel& testModel = createTestModel(); in TEST_P() local
629 const TestModel& testModel = createTestModel(); in TEST_P() local
710 const TestModel& testModel = createTestModel(); in TEST_P() local
811 const TestModel& testModel = createTestModel(); in TEST_P() local
892 const TestModel& testModel = createTestModel(); in TEST_P() local
945 const TestModel& testModel = createTestModel(); in TEST_P() local
1269 const TestModel& testModel = createTestModel(); in testCorruptedCache() local
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/
H A DGeneratedTestHarness.cpp76 Model createModel(const TestModel& testModel) { in createModel()
165 static bool isOutputSizeGreaterThanOne(const TestModel& testModel, uint32_t index) { in isOutputSizeGreaterThanOne()
212 void EvaluatePreparedModel(const sp<IPreparedModel>& preparedModel, const TestModel& testModel, in EvaluatePreparedModel()
337 void EvaluatePreparedModel(const sp<IPreparedModel>& preparedModel, const TestModel& testModel, in EvaluatePreparedModel()
371 void Execute(const sp<IDevice>& device, const TestModel& testModel, bool testDynamicOutputShape) { in Execute()
419 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anonc26bb0f00402()
422 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anonc26bb0f00502()
H A DCompilationCachingTests.cpp423 const TestModel& testModel = createTestModel(); in TEST_P() local
464 const TestModel& testModel = createTestModel(); in TEST_P() local
527 const TestModel& testModel = createTestModel(); in TEST_P() local
632 const TestModel& testModel = createTestModel(); in TEST_P() local
713 const TestModel& testModel = createTestModel(); in TEST_P() local
818 const TestModel& testModel = createTestModel(); in TEST_P() local
899 const TestModel& testModel = createTestModel(); in TEST_P() local
954 const TestModel& testModel = createTestModel(); in TEST_P() local
1278 const TestModel& testModel = createTestModel(); in testCorruptedCache() local
/aosp12/hardware/interfaces/neuralnetworks/1.0/vts/functional/
H A DGeneratedTestHarness.cpp43 Model createModel(const TestModel& testModel) { in createModel()
126 void Execute(const sp<IDevice>& device, const TestModel& testModel) { in Execute()
182 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anon9bfb46ee0202()
H A DUtils.cpp102 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
/aosp12/hardware/interfaces/neuralnetworks/1.1/vts/functional/
H A DGeneratedTestHarness.cpp50 Model createModel(const TestModel& testModel) { in createModel()
134 void Execute(const sp<IDevice>& device, const TestModel& testModel) { in Execute()
190 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anonaf337bef0202()
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
H A DTestUtils.cpp117 Model createModel(const TestModel& testModel) { in createModel()
143 Request createRequest(const TestModel& testModel) { in createRequest()
H A DTestHarness.cpp295 TestModel convertQuant8AsymmOperandsToSigned(const TestModel& testModel) { in convertQuant8AsymmOperandsToSigned()
723 std::optional<TestModel> convertToFloat32Model(const TestModel& testModel) { in convertToFloat32Model()
/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/
H A DRandomGraphGenerator.cpp252 TestModel testModel; in createTestModel() local

12