import tensorflow as tf
from tensorflow.keras.datasets.fashion_mnist import load_data
import matplotlib.pyplot as plt
(x_train,y_train),(x_text,y_text) = load_data()
for i in range(25):
ax = plt.subplot(5,5,i+1)
ax.imshow(x_train[i+2000])
ax.set_xticks([])
ax.set_yticks([])
网友评论