MNIST数据集相关介绍
1. MNIST数据集加载与查看 1.1 内置数据集介绍 dir(tf.keras.datasets) 1.2 MNIST数据集加载 mnist = tf.keras.datasets.mnist mnist.load_data() 1.3 数据集查看 x_train.shape, y_train.shape import tensorflow as tf #MNIST数据集查看 mnist=tf.keras.datasets.mnist (x_train, y_train),(x_test, y_test) = mnist.load_data() print(x_train.shap
用户评论