The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jul. 16, 2024

Filed:

Dec. 04, 2020
Applicant:

Huawei Technologies Co., Ltd., Shenzhen, CN;

Inventors:

Lihua Huang, Shenzhen, CN;

Hao Ding, Shenzhen, CN;

Aoxiang Fan, Hangzhou, CN;

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/50 (2006.01); G06N 3/063 (2023.01);
U.S. Cl.
CPC ...
G06F 9/5016 (2013.01); G06N 3/063 (2013.01); G06F 2209/501 (2013.01);
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.


Find Patent Forward Citations

Loading…