Use the other built-in Keras routine for inference to predict new model outputs from test input images. The following code shows this for four example images labeled with the (correct) digit identifications produced by the ConvNet.