Searched refs:ANeuralNetworksMemory (Results 1 – 9 of 9) sorted by relevance
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworks.h | 5957 typedef struct ANeuralNetworksMemory ANeuralNetworksMemory; typedef 6541 ANeuralNetworksMemory** memory) __INTRODUCED_IN(30); 6579 int ANeuralNetworksMemory_copy(const ANeuralNetworksMemory* src, const ANeuralNetworksMemory* dst) 6994 ANeuralNetworksMemory** memory) 7078 ANeuralNetworksMemory** memory) __INTRODUCED_IN(27); 7092 void ANeuralNetworksMemory_free(ANeuralNetworksMemory* memory) __INTRODUCED_IN(27); 7315 const ANeuralNetworksMemory* memory, 7740 const ANeuralNetworksMemory* memory, size_t offset, 7841 const ANeuralNetworksMemory* memory, size_t offset,
|
D | NeuralNetworksWrapper.h | 192 ANeuralNetworksMemory* get() const { return mMemory; } in get() 196 ANeuralNetworksMemory* mMemory = nullptr;
|
/frameworks/ml/nn/runtime/test/ |
D | TestGenerated.cpp | 150 static ANeuralNetworksMemory* createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput() 157 ANeuralNetworksMemory* memory = nullptr; in createDeviceMemoryForInput() 163 static ANeuralNetworksMemory* createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput() 170 ANeuralNetworksMemory* memory = nullptr; in createDeviceMemoryForOutput() 199 ANeuralNetworksMemory* memory = createDeviceMemoryForInput(compilation, i); in computeWithDeviceMemories() 214 ANeuralNetworksMemory* memory = createDeviceMemoryForOutput(compilation, i); in computeWithDeviceMemories()
|
D | TestValidation.cpp | 246 ANeuralNetworksMemory* createAshmem(uint32_t size) { in createAshmem() 250 ANeuralNetworksMemory* ashmem = nullptr; in createAshmem() 258 std::vector<ANeuralNetworksMemory*> mMemories; 349 ANeuralNetworksMemory* memory, int expectedResult) { in executeWithMemoryAsInput() 363 ANeuralNetworksMemory* memory, int expectedResult) { in executeWithMemoryAsOutput() 609 ANeuralNetworksMemory* memory; in TEST_F() 671 ANeuralNetworksMemory* memory; in TEST_F() 702 ANeuralNetworksMemory* memory; in TEST_F() 1229 ANeuralNetworksMemory* memory; in TEST_F() 1410 ANeuralNetworksMemory* memory; in TEST_F() [all …]
|
D | TestNeuralNetworksWrapper.h | 54 Memory(ANeuralNetworksMemory* memory) : mMemory(memory) {} in Memory() 89 ANeuralNetworksMemory* get() const { return mMemory; } in get() 93 ANeuralNetworksMemory* mMemory = nullptr;
|
D | TestMemoryDomain.cpp | 230 ANeuralNetworksMemory* memory; in allocateDeviceMemory()
|
D | TestPartitioningRandom.cpp | 322 ANeuralNetworksMemory* memory = reinterpret_cast<ANeuralNetworksMemory*>(ashmem.release()); in layout()
|
/frameworks/ml/nn/runtime/ |
D | NeuralNetworks.cpp | 967 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromDesc() 981 *memory = reinterpret_cast<ANeuralNetworksMemory*>(m.release()); in ANeuralNetworksMemory_createFromDesc() 985 int ANeuralNetworksMemory_copy(const ANeuralNetworksMemory* src, const ANeuralNetworksMemory* dst) { in ANeuralNetworksMemory_copy() 997 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromFd() 1006 *memory = reinterpret_cast<ANeuralNetworksMemory*>(m.release()); in ANeuralNetworksMemory_createFromFd() 1011 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromAHardwareBuffer() 1020 *memory = reinterpret_cast<ANeuralNetworksMemory*>(m.release()); in ANeuralNetworksMemory_createFromAHardwareBuffer() 1024 void ANeuralNetworksMemory_free(ANeuralNetworksMemory* memory) { in ANeuralNetworksMemory_free() 1087 const ANeuralNetworksMemory* memory, in ANeuralNetworksModel_setOperandValueFromMemory() 1297 const ANeuralNetworksMemory* memory, size_t offset, in ANeuralNetworksExecution_setInputFromMemory() [all …]
|
/frameworks/ml/nn/tools/api/ |
D | NeuralNetworks.t | 342 * ANeuralNetworksMemory is an opaque type that represents memory. 383 typedef struct ANeuralNetworksMemory ANeuralNetworksMemory; 735 * It is however safe to continue using a {@link ANeuralNetworksMemory} object created 953 * The provided {@link ANeuralNetworksMemoryDesc} need not outlive the {@link ANeuralNetworksMemory} 967 ANeuralNetworksMemory** memory) __INTRODUCED_IN(30); 1005 int ANeuralNetworksMemory_copy(const ANeuralNetworksMemory* src, const ANeuralNetworksMemory* dst) 1391 * {@link ANeuralNetworksMemory} for a description on how to use this shared memory. 1407 * The provided AHardwareBuffer must outlive the ANeuralNetworksMemory object. 1420 ANeuralNetworksMemory** memory) 1483 * See {@link ANeuralNetworksMemory} for a description on how to use [all …]
|