This application provides a neural network training method and apparatus. The method includes: training a target neural network using a first training mode within a first time period for starting training the target neural network, where training precision corresponding to the first training mode is first precision; and training the target neural network using a second training mode within a second time period for training the target neural network, where training precision corresponding to the second training mode is second precision, the first precision is lower than the second precision, a start moment of the second time period is an end moment of the first time period, and an end moment of the second time period is a training end moment of the target neural network. With the method provided in this application, training duration of a neural network can be shortened without compromising training precision of the neural network.
Full Text
What is claimed is: