Searched refs:ANeuralNetworksMemory (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/lite/nnapi/ |
D | nnapi_implementation.h | 52 ANeuralNetworksMemory** memory); 63 void (*ANeuralNetworksMemory_free)(ANeuralNetworksMemory* memory); 226 const ANeuralNetworksMemory* memory, size_t offset, size_t length); 479 const ANeuralNetworksMemory* memory, size_t offset, size_t length); 542 const ANeuralNetworksMemory* memory, size_t offset, size_t length); 1118 const AHardwareBuffer* ahwb, ANeuralNetworksMemory** memory); 1487 const ANeuralNetworksMemoryDesc* desc, ANeuralNetworksMemory** memory); 1534 int (*ANeuralNetworksMemory_copy)(const ANeuralNetworksMemory* src, 1535 const ANeuralNetworksMemory* dst);
|
D | NeuralNetworksTypes.h | 294 typedef struct ANeuralNetworksMemory ANeuralNetworksMemory; typedef 475 ANeuralNetworksMemory** memory); 477 typedef void (*ANeuralNetworksMemory_free_fn)(ANeuralNetworksMemory* memory); 510 const ANeuralNetworksMemory* memory, size_t offset, size_t length); 537 const ANeuralNetworksOperandType* type, const ANeuralNetworksMemory* memory, 546 const ANeuralNetworksOperandType* type, const ANeuralNetworksMemory* memory, 618 const AHardwareBuffer* ahwb, ANeuralNetworksMemory** memory); 695 const ANeuralNetworksMemoryDesc* desc, ANeuralNetworksMemory** memory); 697 typedef int (*ANeuralNetworksMemory_copy_fn)(const ANeuralNetworksMemory* src, 698 const ANeuralNetworksMemory* dst);
|
D | NeuralNetworksShim.h | 114 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromFd() 128 inline void ANeuralNetworksMemory_free(ANeuralNetworksMemory* memory) { in ANeuralNetworksMemory_free() 311 const ANeuralNetworksMemory* memory, size_t offset, size_t length) { in ANeuralNetworksModel_setOperandValueFromMemory() 588 const ANeuralNetworksOperandType* type, const ANeuralNetworksMemory* memory, in ANeuralNetworksExecution_setInputFromMemory() 655 const ANeuralNetworksOperandType* type, const ANeuralNetworksMemory* memory, in ANeuralNetworksExecution_setOutputFromMemory() 1107 const AHardwareBuffer* ahwb, ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromAHardwareBuffer() 1510 const ANeuralNetworksMemoryDesc* desc, ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromDesc() 1559 inline int ANeuralNetworksMemory_copy(const ANeuralNetworksMemory* src, in ANeuralNetworksMemory_copy() 1560 const ANeuralNetworksMemory* dst) { in ANeuralNetworksMemory_copy()
|
D | nnapi_handler.h | 173 ANeuralNetworksMemory** memory) { in MemoryCreateFromFdReturns() 174 *memory = reinterpret_cast<ANeuralNetworksMemory*>(2); in MemoryCreateFromFdReturns() 227 const ANeuralNetworksMemory* memory, size_t offset, in ExecutionSetInputFromMemoryReturns() 235 const ANeuralNetworksMemory* memory, size_t offset, in ExecutionSetOutputFromMemoryReturns()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate.h | 27 typedef struct ANeuralNetworksMemory ANeuralNetworksMemory; typedef 166 ANeuralNetworksMemory* memory, 174 ANeuralNetworksMemory* memory; 188 TfLiteBufferHandle RegisterNnapiMemory(ANeuralNetworksMemory* memory,
|
D | nnapi_delegate_kernel.h | 165 ANeuralNetworksMemory* get_handle() { return nn_memory_handle_; } in get_handle() 175 ANeuralNetworksMemory* nn_memory_handle_ = nullptr; 331 std::map<const MMAPAllocation*, ANeuralNetworksMemory*>
|
D | nnapi_delegate_disabled.cc | 48 ANeuralNetworksMemory* memory, CopyToHostTensorFnPtr callback, in RegisterNnapiMemory()
|
D | nnapi_delegate_mock_test.h | 48 nnapi_->ANeuralNetworksMemory_free = [](ANeuralNetworksMemory* memory) {}; in NnApiHandler()
|
D | nnapi_delegate.cc | 714 std::map<const MMAPAllocation*, ANeuralNetworksMemory*>* in NNAPIOpBuilder() 1448 ANeuralNetworksMemory* ann_memory_handle = nullptr; in AddTensor() 1455 ANeuralNetworksMemory* ann_memory_handle = in AddTensor() 1494 std::map<const MMAPAllocation*, ANeuralNetworksMemory*>* const 4897 ANeuralNetworksMemory* memory, CopyToHostTensorFnPtr callback, in RegisterNnapiMemory()
|
D | nnapi_delegate_test.cc | 427 ANeuralNetworksMemory* input1_memory = nullptr; in TEST() 442 ANeuralNetworksMemory* memory_handle; in TEST() 449 [](TfLiteTensor* tensor, ANeuralNetworksMemory* memory, in TEST()
|