Memory allocation method and apparatus for neural network
US12039371B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 4, 2020 |
| Grant date | Jul 16, 2024 |
| Priority date | — |
| Expiry date | May 6, 2043 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2212/1044
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A memory allocation method for a neural network includes determining information about N memory blocks, sorting the N memory blocks in descending order based on sizes of the N memory blocks, allocating a first memory block to the neural network, to perform an operation for a first node set in the neural network, determining whether a memory block in an allocated set is reusable for an nth memory block, where the allocated set includes a memory block that has been allocated to the neural network, if the memory block in the allocated set is reusable for the nth memory block, allocating, to the neural network, the memory block to perform an operation for an nth node set in the neural network, then updating the allocated set, and sequentially performing the foregoing determining from n=2 to n=N based on the sort sequence.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.