Categories
Misc

I am new to tensorflow, and I am confused abt this section of the code. Can someone briefly explain this to me, I appreciate it.

plt.figure(figsize=(10,10)) 

for i in range(25): plt.subplot(5,5,i+1) plt.xticks([])
plt.yticks([]) plt.grid(False) plt.imshow(train_images[i],
cmap=plt.cm.binary) plt.xlabel(class_names[train_labels[i]])
plt.show()

submitted by /u/Real_Scholar2762

[visit reddit]

[comments]

Leave a Reply

Your email address will not be published.