Home
last modified time | relevance | path

Searched defs:compilation (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/ml/nn/runtime/test/android_fuzzing/
DFuzzTest.cpp96 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/
DTestFree.cpp91 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local
103 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local
115 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local
DTestGenerated.cpp129 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
DTestMemoryDomain.cpp187 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
DTestTrivialModel.cpp115 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
DTestFailingDriver.cpp145 WrapperCompilation compilation(&model); in TEST_F() local
195 WrapperCompilation compilation(&model); in TEST_F() local
DTestNeuralNetworksWrapper.h254 ANeuralNetworksCompilation* compilation = nullptr; in createForDevices() local
315 Compilation(ANeuralNetworksCompilation* compilation) : mCompilation(compilation) {} in Compilation()
322 Execution(const Compilation* compilation) : mCompilation(compilation->getHandle()) { in Execution()
DTestControlFlow.cpp86 Compilation compilation(&model); in TEST_F() local
DTestValidation.cpp348 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
DTestMemoryInternal.cpp225 WrapperCompilation compilation(&model); in TEST_F() local
DTestUnknownDimensions.cpp239 Compilation compilation(&model); in TestOne() local
/frameworks/ml/nn/runtime/
DNeuralNetworks.cpp753 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 …]
DBurstBuilder.cpp27 BurstBuilder::BurstBuilder(const CompilationBuilder* compilation, in BurstBuilder()
DMemory.cpp77 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/
DMultinomialTest.cpp61 Compilation compilation(&model_); in Invoke() local
DLSHProjectionTest.cpp101 Compilation compilation(&model_); in Invoke() local
DEmbeddingLookupTest.cpp96 Compilation compilation(&model_); in Invoke() local
DHashtableLookupTest.cpp111 Compilation compilation(&model_); in Invoke() local
DRNNTest.cpp196 Compilation compilation(&model_); in Invoke() local
DSVDFTest.cpp239 Compilation compilation(&model_); in Invoke() local
DLayerNormLSTMTest.cpp205 Compilation compilation(&model_); in Invoke() local
DQuantizedLSTMTest.cpp91 Compilation compilation(&model_); in invoke() local
DLSTMTest.cpp195 Compilation compilation(&model_); in Invoke() local
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp354 test_wrapper::Compilation compilation(model); in computeAndVerifyResults() local
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h407 Execution(const Compilation* compilation) { in Execution()

12