import matplotlib.pyplot as plt digit = train_images[4] plt.imshow(digit, cmap=plt.cm.binary) plt.show(). 张量切片(tensor slicing):选择张量的特定元素;.
確定! 回上一頁