/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 96 Compilation compilation(&model); in CreateCompilation() local 103 std::optional<Execution> CreateExecution(const Compilation& compilation, in CreateExecution() 138 auto compilation = CreateCompilation(*model); in nnapiFuzzTest() local
|
/frameworks/ml/nn/runtime/test/ |
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 | TestGenerated.cpp | 129 Compilation compilation(&model); in compileModel() local 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() 281 std::optional<Compilation> compilation = compileModel(model); in executeOnce() local 302 std::optional<Compilation> compilation = compileModel(model); in executeMultithreadedSharedCompilation() local
|
D | TestMemoryDomain.cpp | 187 test_wrapper::Compilation compilation; in createCompilation() local 215 const test_wrapper::Compilation& compilation, const std::vector<uint32_t>& inputIndexes, in allocateDeviceMemory() 284 auto compilation = createCompilation({"test_driver"}); in TEST_P() local 320 auto compilation = createCompilation({"test_driver_add", "test_driver_sub", "test_driver_mul"}); in TEST_P() local 405 auto compilation = createCompilation({"test_driver"}); in TEST_P() local 438 auto compilation = createCompilation({"test_driver"}); in TEST_F() local
|
D | TestTrivialModel.cpp | 115 Compilation compilation(&modelAdd2); in TEST_F() local 144 Compilation compilation(&modelAdd2); in TEST_F() local 212 Compilation compilation(&modelAdd3); in TEST_F() local 271 Compilation compilation(&modelBroadcastAdd2); in TEST_F() local 300 Compilation compilation(&modelBroadcastMul2); in TEST_F() local
|
D | TestFailingDriver.cpp | 145 WrapperCompilation compilation(&model); in TEST_F() local 195 WrapperCompilation compilation(&model); in TEST_F() local
|
D | TestNeuralNetworksWrapper.h | 254 ANeuralNetworksCompilation* compilation = nullptr; in createForDevices() local 315 Compilation(ANeuralNetworksCompilation* compilation) : mCompilation(compilation) {} in Compilation() 322 Execution(const Compilation* compilation) : mCompilation(compilation->getHandle()) { in Execution()
|
D | TestControlFlow.cpp | 86 Compilation compilation(&model); in TEST_F() local
|
D | TestValidation.cpp | 348 void executeWithMemoryAsInput(ANeuralNetworksCompilation* compilation, in executeWithMemoryAsInput() 362 void executeWithMemoryAsOutput(ANeuralNetworksCompilation* compilation, in executeWithMemoryAsOutput() 855 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local 870 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local 892 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local 2026 ANeuralNetworksCompilation* compilation; in TEST_F() local 2763 void runExecutionSetTimeoutTest(ANeuralNetworksCompilation* compilation, in runExecutionSetTimeoutTest() 2956 ANeuralNetworksCompilation* compilation; in createAndCompileAddModelWithType() local 2962 static void testIncompatibleOperands(const ANeuralNetworksCompilation* compilation, in testIncompatibleOperands() 3127 ANeuralNetworksCompilation* compilation; in createAndCompileChannelQuantConvModel() local
|
D | TestMemoryInternal.cpp | 225 WrapperCompilation compilation(&model); in TEST_F() local
|
D | TestUnknownDimensions.cpp | 239 Compilation compilation(&model); in TestOne() local
|
/frameworks/ml/nn/runtime/ |
D | NeuralNetworks.cpp | 753 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_createForDevices() 844 int ANeuralNetworksBurst_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksBurst_create() 919 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addInputRole() 932 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addOutputRole() 1160 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_create() 1174 void ANeuralNetworksCompilation_free(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_free() 1181 int ANeuralNetworksCompilation_setPreference(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setPreference() 1192 int ANeuralNetworksCompilation_setCaching(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setCaching() 1203 int ANeuralNetworksCompilation_finish(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_finish() 1213 int ANeuralNetworksCompilation_setPriority(ANeuralNetworksCompilation* compilation, int priority) { in ANeuralNetworksCompilation_setPriority() [all …]
|
D | BurstBuilder.cpp | 27 BurstBuilder::BurstBuilder(const CompilationBuilder* compilation, in BurstBuilder()
|
D | Memory.cpp | 77 bool validate(const CompilationBuilder* compilation, IOType, uint32_t, in validate() 104 bool validate(const CompilationBuilder* compilation, IOType ioType, uint32_t index, in validate() 324 int MemoryBuilder::addRole(const CompilationBuilder& compilation, IOType ioType, uint32_t index, in addRole()
|
/frameworks/ml/nn/common/operations/ |
D | MultinomialTest.cpp | 61 Compilation compilation(&model_); in Invoke() local
|
D | LSHProjectionTest.cpp | 101 Compilation compilation(&model_); in Invoke() local
|
D | EmbeddingLookupTest.cpp | 96 Compilation compilation(&model_); in Invoke() local
|
D | HashtableLookupTest.cpp | 111 Compilation compilation(&model_); in Invoke() local
|
D | RNNTest.cpp | 196 Compilation compilation(&model_); in Invoke() local
|
D | SVDFTest.cpp | 239 Compilation compilation(&model_); in Invoke() local
|
D | LayerNormLSTMTest.cpp | 205 Compilation compilation(&model_); in Invoke() local
|
D | QuantizedLSTMTest.cpp | 91 Compilation compilation(&model_); in invoke() local
|
D | LSTMTest.cpp | 195 Compilation compilation(&model_); in Invoke() local
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 354 test_wrapper::Compilation compilation(model); in computeAndVerifyResults() local
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworksWrapper.h | 407 Execution(const Compilation* compilation) { in Execution()
|