第一步仍然是导入库和数据集. ''' To classify images using a reccurent neural network, we consider every image row as a sequence of pixels. Because MNIST image shape is 28*28px, we will then handle 28 sequences of 28 steps for every sample. ''' 这里我们设定了各种参数,此时的n_ste…