Home
last modified time | relevance | path

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

12

/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/
DTestGenerated.cpp182 const TestModel& testModel, Execution* execution, in createRequestWithDeviceMemories()
222 static void copyResultsFromDeviceMemories(const TestModel& testModel, in copyResultsFromDeviceMemories()
245 void GeneratedTests::executeInternal(const Compilation& compilation, const TestModel& testModel, in executeInternal()
305 const TestModel& testModel) { in executeWithCompilation()
320 const TestModel& testModel) { in validateCompilationMemoryPreferences()
344 void GeneratedTests::executeOnce(const Model& model, const TestModel& testModel) { in executeOnce()
354 const TestModel& testModel) { in executeMultithreadedOwnCompilation()
365 const TestModel& testModel) { in executeMultithreadedSharedCompilation()
380 void GeneratedTests::execute(const TestModel& testModel) { in execute()
539 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anona094d8200802()
[all …]
DSupportLibraryTestGenerated.cpp253 void computeWithPtrs(const TestModel& testModel, Execution* execution, in computeWithPtrs()
293 const Compilation& compilation, const TestModel& testModel, Execution* execution, in computeWithDeviceMemories()
361 const TestModel& testModel) { in executeWithCompilation()
405 void GeneratedTests::executeOnce(const Model& model, const TestModel& testModel) { in executeOnce()
438 const TestModel& testModel) { in executeMultithreadedOwnCompilation()
450 const TestModel& testModel) { in executeMultithreadedSharedCompilation()
490 void GeneratedTests::execute(const TestModel& testModel) { in execute()
613 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anon5ae799d20a02()
615 INSTANTIATE_GENERATED_TEST(DynamicOutputShapeTest, [](const TestModel& testModel) { in __anon5ae799d20b02()
619 INSTANTIATE_GENERATED_TEST(GeneratedValidationTests, [](const TestModel& testModel) { in __anon5ae799d20c02()
[all …]
DTestCompatibilityLayer.cpp76 void CompatibilityLayerGeneratedTests::execute(const TestModel& testModel) { in execute()
136 bool compatibleTest(const TestModel& testModel) { in compatibleTest()
237 [](const TestModel& testModel) { in __anonf732c1080402()
242 [](const TestModel& testModel) { in __anonf732c1080502()
247 [](const TestModel& testModel) { in __anonf732c1080602()
DGeneratedTestUtils.cpp109 const NnApiSupportLibrary* nnapi, const TestModel& testModel) {
189 void createModel(const NnApiSupportLibrary* nnapi, const TestModel& testModel,
224 void createRequest(const TestModel& testModel, Execution* execution,
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()
/aosp_15_r20/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()
470 std::vector<TestBuffer> ExecutionContextV1_3::getOutputBuffers(const TestModel& testModel, in getOutputBuffers()
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()
880 void Execute(const sp<IDevice>& device, const TestModel& testModel, TestKind testKind) { in Execute()
[all …]
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
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 __anond361e91a0502()
/aosp_15_r20/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A DGeneratedTestHarness.cpp129 const TestModel& testModel) in DeviceMemoryAllocator()
296 Model createModel(const TestModel& testModel) { in createModel()
344 static bool isOutputSizeGreaterThanOne(const TestModel& testModel, uint32_t index) { in isOutputSizeGreaterThanOne()
395 std::optional<Request> ExecutionContext::createRequest(const TestModel& testModel, in createRequest()
520 std::vector<TestBuffer> ExecutionContext::getOutputBuffers(const TestModel& testModel, in getOutputBuffers()
563 static bool hasZeroSizedOutput(const TestModel& testModel) { in hasZeroSizedOutput()
572 const TestModel& testModel, const TestConfig& testConfig, in EvaluatePreparedModel()
875 const TestModel& testModel, TestKind testKind) { in EvaluatePreparedModel()
953 const TestModel& testModel, in EvaluatePreparedCoupledModels()
985 void Execute(const std::shared_ptr<IDevice>& device, const TestModel& testModel, in Execute()
[all …]
H A DCompilationCachingTests.cpp421 const Model* model, const TestModel& testModel) { in verifyModelPreparationBehaviour()
486 const TestModel& testModel = createTestModel(); in TEST_P() local
527 const TestModel& testModel = createTestModel(); in TEST_P() local
588 const TestModel& testModel = createTestModel(); in TEST_P() local
665 const TestModel& testModel = createTestModel(); in TEST_P() local
726 const TestModel& testModel = createTestModel(); in TEST_P() local
767 const TestModel& testModel = createTestModel(); in TEST_P() local
1084 const TestModel& testModel = createTestModel(); in testCorruptedCache() local
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 __anon8bd513420302()
H A DMemoryDomainTests.cpp69 void createDummyData(TestModel* testModel) { in createDummyData()
270 const TestModel testModel = createConvModel(testOperand, numOperations); in createConvPreparedModel() local
278 const TestModel testModel = createSingleAddModel(testOperand); in createAddPreparedModel() local
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DFuzzTest.cpp58 bool areSubgraphsAcyclic(const TestModel& testModel, size_t index, std::vector<Visited>* visited, in areSubgraphsAcyclic()
81 std::optional<std::vector<size_t>> getSubgraphOrder(const TestModel& testModel) { in getSubgraphOrder()
89 std::optional<Model> CreateSubgraph(const TestModel& testModel, size_t subgraphIndex, in CreateSubgraph()
143 std::optional<std::vector<Model>> CreateModels(const TestModel& testModel) { in CreateModels()
166 const TestModel& testModel) { in CreateExecution()
192 void nnapiFuzzTest(const TestModel& testModel) { in nnapiFuzzTest()
DDriverFuzzTest.cpp49 ExecutionResult<void> runTest(const ::test_helper::TestModel& testModel) { in runTest()
78 void nnapiFuzzTest(const ::test_helper::TestModel& testModel) { in nnapiFuzzTest()
DFuzzHarness.cpp65 const TestModel testModel = convertToTestModel(model); in DEFINE_PROTO_FUZZER() local
/aosp_15_r20/external/aws-sdk-java-v2/codegen/src/test/java/software/amazon/awssdk/codegen/
H A DIntermediateModelBuilderTest.java38 IntermediateModel testModel = new IntermediateModelBuilder( in testServiceAndShapeNameCollisions() local
54 IntermediateModel testModel = new IntermediateModelBuilder( in sharedOutputShapesLinkCorrectlyToOperationOutputs() local
69 IntermediateModel testModel = new IntermediateModelBuilder( in defaultEndpointDiscovery_true() local
83 IntermediateModel testModel = new IntermediateModelBuilder( in defaultEndpointDiscovery_false() local
97 IntermediateModel testModel = new IntermediateModelBuilder( in assertAwsQueryCompatibleTrait_notNull() local
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/protos_generator/tests/
Dtest_generated.cc70 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
76 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
90 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
118 TestModel testModel; in TEST() local
133 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
153 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
177 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
205 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
229 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
257 auto testModel = ::protos::CreateMessage<TestModel>(arena); in TEST() local
/aosp_15_r20/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 __anonce53b3ba0402()
422 [](const TestModel& testModel) { return !testModel.expectFailure; }); in __anonce53b3ba0502()
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
/aosp_15_r20/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 __anona7e349b80202()
/aosp_15_r20/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 __anonbb1b7eb90202()
/aosp_15_r20/test/mlts/benchmark/jni/
Drandom_graph_test_jni.cpp92 const test_helper::TestModel& testModel) { in getOperationsInModel()
183 std::optional<test_helper::TestModel> testModel = in runRandomModel() local
394 std::optional<test_helper::TestModel> testModel = in OperationsSupportedByDevice() local
455 void dumpModel(const test_helper::TestModel& testModel) { in dumpModel()
/aosp_15_r20/external/aws-sdk-java-v2/codegen/src/test/java/software/amazon/awssdk/codegen/model/intermediate/
H A DIntermediateModelTest.java40 IntermediateModel testModel = new IntermediateModelBuilder( in cannotFindShapeWhenNoShapesExist() local
59 IntermediateModel testModel = new IntermediateModelBuilder( in getShapeByNameAndC2jNameVerifiesC2JName() local
/aosp_15_r20/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp124 GeneralResult<Model> createModel(const TestModel& testModel) { in createModel()
150 GeneralResult<Request> createRequest(const TestModel& testModel) { in createRequest()
DTestHarness.cpp295 TestModel convertQuant8AsymmOperandsToSigned(const TestModel& testModel) { in convertQuant8AsymmOperandsToSigned()
723 std::optional<TestModel> convertToFloat32Model(const TestModel& testModel) { in convertToFloat32Model()

12