Determining target calculation models that need memory allocation
AssigneeSigmastar Technology Ltd.
InventorXiaolong Liu
Life of this patent
Estimating the term…
Loading patent…
AssigneeSigmastar Technology Ltd.
InventorXiaolong Liu
Estimating the term…
The present application discloses a memory allocation method, including: determining a plurality of target calculation models that need memory allocation; determining a target tensor of each of the target calculation models which a memory occupancy is needed during a calculation process; determining, according to lifecycles of the target tensors, a target memory space occupied by each of the target calculation models during the calculation process; and determining, according to the target memory spaces occupied by the target calculation models, a total memory space occupied by the target calculation models. Thus, an electronic apparatus is not required to allocate memory spaces for all the tensors, achieving the object of reducing the memory space occupied by calculation models.
A memory allocation method, applied to an electronic apparatus, the method comprising:
An electronic apparatus, comprising a processor and a memory, the memory having a computer program stored therein, wherein when the computer program executed by the processor it performs a memory allocation method, the memory allocation method comprises:
A memory allocation method, applied to an electronic apparatus, the method comprising:
Dependencies are inferred from the claim text.