Home
last modified time | relevance | path

Searched refs:createModel (Results 1 – 9 of 9) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestCompliance.h25 #define TEST_AVAILABLE_SINCE(version, testName, createModel) argument
34 void testAvailableSinceV1_2(std::function<void(test_wrapper::Model*)> createModel);
35 void testAvailableSinceV1_1(std::function<void(test_wrapper::Model*)> createModel);
36 void testAvailableSinceV1_0(std::function<void(test_wrapper::Model*)> createModel);
41 #define TEST_AVAILABLE_SINCE(version, testName, createModel) \ argument
43 TEST_F(ComplianceTest, testName) { testAvailableSince##version(createModel); } \
DTestCompliance.cpp34 static HidlModel createHidlModel(std::function<void(WrapperModel*)> createModel) { in createHidlModel() argument
37 createModel(&wrapperModel); in createHidlModel()
44 void ComplianceTest::testAvailableSinceV1_2(std::function<void(WrapperModel*)> createModel) { in testAvailableSinceV1_2() argument
45 HidlModel model = createHidlModel(createModel); in testAvailableSinceV1_2()
50 void ComplianceTest::testAvailableSinceV1_1(std::function<void(WrapperModel*)> createModel) { in testAvailableSinceV1_1() argument
51 HidlModel model = createHidlModel(createModel); in testAvailableSinceV1_1()
56 void ComplianceTest::testAvailableSinceV1_0(std::function<void(WrapperModel*)> createModel) { in testAvailableSinceV1_0() argument
57 HidlModel model = createHidlModel(createModel); in testAvailableSinceV1_0()
DTestGenerated.h77 void execute(std::function<void(Model*)> createModel, std::function<bool(int)> isIgnored,
DTestGenerated.cpp222 void GeneratedTests::execute(std::function<void(Model*)> createModel, in execute() argument
228 createModel(&model); in execute()
DTestValidation.cpp73 void createModel() { in createModel() function in __anon1fd66c800111::ValidationTestModel
171 createModel(); in SetUp()
585 createModel(); in TEST_F()
595 createModel(); in TEST_F()
605 createModel(); in TEST_F()
623 createModel(); in TEST_F()
662 createModel(); in TEST_F()
1517 createModel(); in SetUp()
1603 createModel(); in SetUp()
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciExtensionTest.cpp142 void createModel(ExtensionModel* model, ExtensionOperandType inputType, in createModel() function
182 createModel(&mModel, inputType, outputType, /*addNopOperations=*/false); in TEST_F()
213 createModel(&mModel, inputType, outputType, /*addNopOperations=*/true); in TEST_F()
242 createModel(&mModel, inputType, outputType, /*addNopOperations=*/false); in TEST_F()
253 createModel(&mModel, inputType, outputType, /*addNopOperations=*/false); in TEST_F()
264 createModel(&mModel, inputType, outputType, /*addNopOperations=*/false); in TEST_F()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGenerator.h151 void createModel(test_wrapper::Model* model);
DRandomGraphGenerator.cpp205 void RandomGraph::createModel(test_wrapper::Model* model) { in createModel() function in android::nn::fuzzing_test::RandomGraph
DTestRandomGraph.cpp311 mGraph.createModel(&model); in testRandomGraph()