/packages/modules/NeuralNetworks/runtime/test/ |
D | TestGenerated.cpp | 143 Compilation compilation(&model); in compileModel() local 155 static ANeuralNetworksMemory* createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput() 168 static ANeuralNetworksMemory* createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput() 181 static void createRequestWithDeviceMemories(const Compilation& compilation, in createRequestWithDeviceMemories() 245 void GeneratedTests::executeInternal(const Compilation& compilation, const TestModel& testModel, in executeInternal() 304 void GeneratedTests::executeWithCompilation(const Compilation& compilation, in executeWithCompilation() 319 static void validateCompilationMemoryPreferences(const Compilation& compilation, in validateCompilationMemoryPreferences() 346 std::optional<Compilation> compilation = compileModel(model); in executeOnce() local 368 std::optional<Compilation> compilation = compileModel(model); in executeMultithreadedSharedCompilation() local
|
D | TestFree.cpp | 91 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local 103 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local 115 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local
|
D | TestMemoryDomain.cpp | 200 test_wrapper::Compilation compilation; in createCompilation() local 228 const test_wrapper::Compilation& compilation, const std::vector<uint32_t>& inputIndexes, in allocateDeviceMemory() 298 auto compilation = createCompilation({"test_driver"}); in TEST_P() local 334 auto compilation = createCompilation({"test_driver_add", "test_driver_sub", "test_driver_mul"}); in TEST_P() local 420 auto compilation = createCompilation({"test_driver"}); in TEST_P() local 454 auto compilation = createCompilation({"test_driver"}); in TEST_F() local
|
D | TestTrivialModel.cpp | 124 Compilation compilation(&modelAdd2); in TEST_F() local 166 Compilation compilation(&modelAdd2); in testAddTwoWithHardwareBufferInput() local 244 Compilation compilation(&modelAdd3); in TEST_F() local 303 Compilation compilation(&modelBroadcastAdd2); in TEST_F() local 332 Compilation compilation(&modelBroadcastMul2); in TEST_F() local
|
D | SupportLibraryTestGenerated.cpp | 241 auto compilation = std::move(resultCompilation.second); in compileModel() local 263 ANeuralNetworksMemory* GeneratedTests::createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput() 277 ANeuralNetworksMemory* GeneratedTests::createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput() 293 const Compilation& compilation, const TestModel& testModel, Execution* execution, in computeWithDeviceMemories() 360 void GeneratedTests::executeWithCompilation(const Compilation& compilation, in executeWithCompilation() 424 std::optional<Compilation> compilation = compileModel(model, device); in executeOnce() local 471 std::optional<Compilation> compilation = compileModel(model, device); in executeMultithreadedSharedCompilation() local
|
D | TestFailingDriver.cpp | 144 WrapperCompilation compilation(&model); in TEST_F() local 194 WrapperCompilation compilation(&model); in TEST_F() local
|
D | TestTelemetry.cpp | 65 Compilation compilation(&modelAdd2); in TEST_F() local
|
D | TestNeuralNetworksWrapper.h | 260 ANeuralNetworksCompilation* compilation = nullptr; in createForDevices() local 361 Compilation(ANeuralNetworksCompilation* compilation) : mCompilation(compilation) {} in Compilation() 368 Execution(const Compilation* compilation) : mCompilation(compilation->getHandle()) { in Execution()
|
D | TestControlFlow.cpp | 90 Compilation compilation(&model); in TEST_F() local
|
D | TestCompatibilityLayer.cpp | 85 Compilation compilation(&model); in execute() local
|
D | TestValidation.cpp | 368 void executeWithMemoryAsInput(ANeuralNetworksCompilation* compilation, in executeWithMemoryAsInput() 382 void executeWithMemoryAsOutput(ANeuralNetworksCompilation* compilation, in executeWithMemoryAsOutput() 883 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local 898 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local 920 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local 1466 static void testConcurrentExecution(bool reusable, ANeuralNetworksCompilation* compilation) { in testConcurrentExecution() 2583 ANeuralNetworksCompilation* compilation; in TEST_F() local 3355 void runExecutionSetTimeoutTest(ANeuralNetworksCompilation* compilation, in runExecutionSetTimeoutTest() 3548 ANeuralNetworksCompilation* compilation; in createAndCompileAddModelWithType() local 3554 static void testIncompatibleOperands(const ANeuralNetworksCompilation* compilation, in testIncompatibleOperands() [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworks.cpp | 818 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_createForDevices() 909 int ANeuralNetworksBurst_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksBurst_create() 984 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addInputRole() 997 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addOutputRole() 1237 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_create() 1254 void ANeuralNetworksCompilation_free(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_free() 1261 int ANeuralNetworksCompilation_setPreference(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setPreference() 1272 int ANeuralNetworksCompilation_setCaching(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setCaching() 1283 int ANeuralNetworksCompilation_finish(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_finish() 1296 int ANeuralNetworksCompilation_setPriority(ANeuralNetworksCompilation* compilation, int priority) { in ANeuralNetworksCompilation_setPriority() [all …]
|
D | Telemetry.cpp | 203 auto compilation = e->getCompilation(); in onExecutionFinish() local 246 void registerTelemetryCallbacks(std::function<void(const DiagnosticCompilationInfo*)> compilation, in registerTelemetryCallbacks()
|
D | BurstBuilder.cpp | 32 BurstBuilder::BurstBuilder(const CompilationBuilder* compilation, in BurstBuilder()
|
D | NeuralNetworksV2.cpp | 887 int ANeuralNetworksBurst_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksBurst_create() 939 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addInputRole() 952 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addOutputRole() 1200 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_create() 1228 void ANeuralNetworksCompilation_free(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_free() 1251 int ANeuralNetworksCompilation_finish(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_finish() 1284 int ANeuralNetworksExecution_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksExecution_create()
|
D | Memory.cpp | 78 bool validate(const CompilationBuilder* compilation, IOType, uint32_t, in validate() 105 bool validate(const CompilationBuilder* compilation, IOType ioType, uint32_t index, in validate() 317 int MemoryBuilder::addRole(const CompilationBuilder& compilation, IOType ioType, uint32_t index, in addRole()
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 158 Compilation compilation(&model); in CreateCompilation() local 165 std::optional<Execution> CreateExecution(const Compilation& compilation, in CreateExecution() 200 auto compilation = CreateCompilation(models->front()); in nnapiFuzzTest() local
|
/packages/modules/Virtualization/compos/src/ |
D | compsvc_main.rs | 20 mod compilation; module
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimPreparedModel.h | 36 ::android::nn::sl_wrapper::Compilation compilation, in ShimPreparedModel()
|
D | SupportLibraryWrapper.h | 359 ANeuralNetworksCompilation* compilation = nullptr; in createForDevices() local 479 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation) in Compilation() 488 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) in Execution()
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworksWrapper.h | 474 ANeuralNetworksCompilation* compilation = nullptr; local 579 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation) 593 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) : mNnApi(nnapi) {
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | MultinomialTest.cpp | 66 Compilation compilation(&model_); in Invoke() local
|
D | LSHProjectionTest.cpp | 101 Compilation compilation(&model_); in Invoke() local
|
D | EmbeddingLookupTest.cpp | 98 Compilation compilation(&model_); in Invoke() local
|
D | HashtableLookupTest.cpp | 113 Compilation compilation(&model_); in Invoke() local
|