/frameworks/ml/nn/runtime/test/ |
D | TestNeuralNetworksWrapper.h | 244 class Compilation { 248 static std::pair<Result, Compilation> createForDevice(const Model* model, in createForDevice() 252 static std::pair<Result, Compilation> createForDevices( in createForDevices() 258 return {result, Compilation(compilation)}; in createForDevices() 261 Compilation(const Model* model) { in Compilation() function 268 Compilation() {} in Compilation() function 270 ~Compilation() { ANeuralNetworksCompilation_free(mCompilation); } in ~Compilation() 275 Compilation(const Compilation&) = delete; 276 Compilation& operator=(const Compilation&) = delete; 281 Compilation(Compilation&& other) { *this = std::move(other); } in Compilation() function [all …]
|
D | TestGenerated.cpp | 67 std::optional<Compilation> compileModel(const Model& model); 68 void executeWithCompilation(const Compilation& compilation, const TestModel& testModel); 114 std::optional<Compilation> GeneratedTests::compileModel(const Model& model) { in compileModel() 121 Compilation compilation1(&model); in compileModel() 124 Compilation compilation2(&model); in compileModel() 129 Compilation compilation(&model); in compileModel() 150 static ANeuralNetworksMemory* createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput() 163 static ANeuralNetworksMemory* createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput() 177 static void computeWithDeviceMemories(const Compilation& compilation, const TestModel& testModel, in computeWithDeviceMemories() 239 void GeneratedTests::executeWithCompilation(const Compilation& compilation, in executeWithCompilation() [all …]
|
D | TestTrivialModel.cpp | 115 Compilation compilation(&modelAdd2); in TEST_F() 144 Compilation compilation(&modelAdd2); in TEST_F() 188 Compilation compilation2(&modelAdd3); in TEST_F() 199 Compilation compilation3(&modelAdd3); in TEST_F() 212 Compilation compilation(&modelAdd3); in TEST_F() 271 Compilation compilation(&modelBroadcastAdd2); in TEST_F() 300 Compilation compilation(&modelBroadcastMul2); in TEST_F()
|
D | TestMemoryDomain.cpp | 186 test_wrapper::Compilation createCompilation(const std::vector<std::string>& deviceNames) { in createCompilation() 187 test_wrapper::Compilation compilation; in createCompilation() 205 test_wrapper::Compilation::createForDevices(&kModel, devices); in createCompilation() 208 compilation = test_wrapper::Compilation(&kModel); in createCompilation() 215 const test_wrapper::Compilation& compilation, const std::vector<uint32_t>& inputIndexes, in allocateDeviceMemory() 266 test_wrapper::Compilation createCompilation(const std::vector<std::string>& deviceNames) { in createCompilation()
|
D | TestControlFlow.cpp | 86 Compilation compilation(&model); in TEST_F()
|
D | TestMemory.cpp | 26 using WrapperCompilation = ::android::nn::test_wrapper::Compilation;
|
D | TestFailingDriver.cpp | 35 using WrapperCompilation = test_wrapper::Compilation;
|
D | TestMemoryInternal.cpp | 33 using WrapperCompilation = ::android::nn::test_wrapper::Compilation;
|
D | TestRemoveDefaultArguments.cpp | 105 using WrapperCompilation = test_wrapper::Compilation;
|
D | TestUnknownDimensions.cpp | 239 Compilation compilation(&model); in TestOne()
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworksWrapper.h | 349 class Compilation { 351 Compilation(const Model* model) { in Compilation() function 358 ~Compilation() { ANeuralNetworksCompilation_free(mCompilation); } in ~Compilation() 363 Compilation(const Compilation&) = delete; 364 Compilation& operator=(const Compilation&) = delete; 369 Compilation(Compilation&& other) { *this = std::move(other); } in Compilation() function 370 Compilation& operator=(Compilation&& other) { 407 Execution(const Compilation* compilation) { in Execution()
|
/frameworks/ml/nn/tools/systrace_parser/parser/test/ |
D | omr1.txt | 6 …Initialization Preparation Compilation I/O Compute Results Ex. total … 21 …Initialization Preparation Compilation I/O Compute Results Ex. total … 36 …Initialization Preparation Compilation I/O Compute Results Ex. total … 51 …Initialization Preparation Compilation I/O Compute Results Ex. total … 66 …Initialization Preparation Compilation I/O Compute Results Ex. total …
|
D | unittest.txt | 6 …Initialization Preparation Compilation I/O Compute Results Ex. total … 21 …Initialization Preparation Compilation I/O Compute Results Ex. total …
|
D | hdrnet.txt | 6 …Initialization Preparation Compilation I/O Compute Results Ex. total …
|
D | old.txt | 6 …Initialization Preparation Compilation I/O Compute Results Ex. total …
|
D | cpu.txt | 6 …Initialization Preparation Compilation I/O Compute Results Ex. total …
|
/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 95 std::optional<Compilation> CreateCompilation(const Model& model) { in CreateCompilation() 96 Compilation compilation(&model); in CreateCompilation() 103 std::optional<Execution> CreateExecution(const Compilation& compilation, in CreateExecution()
|
/frameworks/ml/nn/tools/systrace_parser/ |
D | contract-between-code-and-parser.txt | 115 … t1: t_m_w:B|T1|[NN_LI_PI]getCapabilities Layer Runtime, Phase Compilation; see 122 …ATION, Compilation will be calcula… 137 … t1: t_m_w:B|T1|HIDL::IDevice::prepareModel_1_1::client IPC, Phase Compilation 140 …t4: t_m_w:B|T2|HIDL::IPreparedModelCallback::notify::clie Driver, Phase Compilation. This includes 153 …pareModel"); Driver, Phase Compilation.
|
/frameworks/ml/nn/common/operations/ |
D | MultinomialTest.cpp | 61 Compilation compilation(&model_); in Invoke()
|
D | EmbeddingLookupTest.cpp | 96 Compilation compilation(&model_); in Invoke()
|
D | LSHProjectionTest.cpp | 101 Compilation compilation(&model_); in Invoke()
|
D | HashtableLookupTest.cpp | 111 Compilation compilation(&model_); in Invoke()
|
D | RNNTest.cpp | 196 Compilation compilation(&model_); in Invoke()
|
D | SVDFTest.cpp | 239 Compilation compilation(&model_); in Invoke()
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 257 auto [result, compilation] = test_wrapper::Compilation::createForDevice(&model, refDevice); in computeGoldenResults() 309 auto [result, compilation] = test_wrapper::Compilation::createForDevice(model, device); in computeAndVerifyResultsForDevice() 354 test_wrapper::Compilation compilation(model); in computeAndVerifyResults()
|