Memory allocation method and device of neural network
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Publication Date
- 2019-12-20
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
Technical field
[0001] This application relates to the field of deep learning technology, and in particular to a memory allocation method and device of a neural network. Background technique
[0002] In the current field of computer deep learning, in order to achieve better algorithm accuracy, deep learning neural networks are becoming more and more complex, and hardware capabilities limit the development of neural networks in a deeper direction, and memory optimization must be carried out. In order to achieve memory optimization, the industry usually adopts the following memory allocation strategies:
[0003] Run the entire neural network, and then allocate memory for the entire neural network in the order in which it runs. For example, the neural network needs to occupy 100M memory block, 10M memory block and 50M memory block in sequence during operation. Then in the prior art, when the neural network applies for a 100M memory block, a 100M memory block can be allocated to the ...