OH_NN_Memory
typedef struct OH_NN_Memory {...} OH_NN_Memory
Overview
Defines the memory structure.
Since: 9
Deprecated from: 11
Substitute: NN_Tensor
Related module: NeuralNetworkRuntime
Header file: neural_network_runtime_type.h
Summary
Member Variables
| Name | Description |
|---|---|
| void * const data | Pointer to the shared memory. The shared memory is usually applied for by the underlying hardware driver. |
| const size_t length | Length of the shared memory, in bytes. |