Method for training neural network, and related device
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorsGuoping Long, Yuanfeng Zhong, Liying Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorsGuoping Long, Yuanfeng Zhong, Liying Li
Estimating the term…
A method for training a neural network, and a related device are provided. The method may be applied to a scenario in which a neural network is trained in the field of artificial intelligence. When an Nth round of training of the neural network is being performed, a first computational graph may be obtained; and after it is determined that a first compiled code corresponding to the first computational graph has been stored in a system, the first compiled code may be directly executed, where the first compiled code is generated during execution of an Mth round of training of the neural network, and M is less than N. Because there is no need to perform an operation of converting the first computational graph into an intermediate representation, and obtaining a compiled code based on the intermediate representation, overheads of computer resources are reduced.
A method for training a neural network, wherein when an Nth round of training of the neural network is being performed, the method comprises:
An apparatus for training a neural network, comprising:
A non-transitory computer-readable storage medium, wherein the computer-readable storage medium stores a program, and when the program is run on a computer, the computer is enabled to:
Dependencies are inferred from the claim text.