I have tried lots of times by taking many ways but it doesn't work anyway.
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_dataput_data
CodePudding user response:
In in tensorflow 2, you don't need turorial package, use:
tf.keras.datasets.mnist.load_data(
path='mnist.npz'
)