Created by: Xreki
Image pixels in paddle.dataset.mnist are normalized to [-1, 1], so that the input data of inference should be in the range [-1, 1].
paddle.dataset.mnist