Memory allocating method and system for neural network operators, electronic device, and storage medium
Патент · US A1
Полный текст
A memory allocating method and system for neural network operators, an electronic device, and a storage medium is provided and includes: performing memory allocation for target operators successively in a first memory of a target chip based on a computing order according to a target occupied memory of the target operators; when a remaining storage space of the first memory satisfies a first preset condition, executing memory allocation for a current target operator to be allocated with memory in the first memory; and transmitting currently stored data of the first memory to a second memory of the target chip to continuously traverse the memory allocation of remaining target operators in the first memory in an idle state according to the computing order until memory allocation for all the target operators is completed.