Mixing floating- and fixed-point formats for neural network learning on neuroprocessors