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. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-neuralnetworkruntime-nn-tensor
openharmony 鸿蒙 capi-neuralnetworkruntime-oh-nnexecutor
openharmony 鸿蒙 capi-neuralnetworkruntime-oh-nn-quantparam
openharmony 鸿蒙 capi-neuralnetworkruntime-oh-nn-uint32array
openharmony 鸿蒙 capi-neural-network-runtime-h
openharmony 鸿蒙 capi-neuralnetworkruntime-oh-nn-tensor
openharmony 鸿蒙 capi-neuralnetworkruntime-nn-quantparam