A processor quantizes a plurality of first intermediate data obtained from a training into intermediate data of a first fixed-point number according to a first fixed-point number format, obtains a first quantization error between the first intermediate data and the intermediate data of the first fixed-point number, quantizes the first intermediate data into intermediate data of a second fixed-point number according to a second fixed-point number format, and obtains a second quantization error between the first intermediate data and the intermediate data of the second fixed-point number. The processor compares the first quantization error with the second quantization error and determine as a determined fixed-point number format the fixed-point number format having the lower of the quantization errors, and executes the training operation with intermediate data of a fixed-point number obtained by quantizing the plurality of first intermediate data according to the determined fixed-point number format.
展开▼