• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_NN_Memory
2
3
4## Overview
5
6Defines the memory structure.
7
8**Since:**
99
10
11**Related Modules:**
12
13[NeuralNeworkRuntime](_neural_nework_runtime.md)
14
15
16## Summary
17
18
19### Member Variables
20
21| Name | Description |
22| -------- | -------- |
23| [data](#data) |Pointer to the shared memory. The shared memory is usually allocated by the underlying hardware driver.  |
24| [length](#length) |Records the length of the shared memory, in bytes.  |
25
26
27## Member Variable Description
28
29
30### data
31
32
33```
34void* const OH_NN_Memory::data
35```
36**Description**<br>
37Pointer to the shared memory. The shared memory is usually allocated by the underlying hardware driver.
38
39
40### length
41
42
43```
44const size_t OH_NN_Memory::length
45```
46**Description**<br>
47Records the length of the shared memory, in bytes.
48