Skip to content

Commit b34f12b

Browse files
committed
Removed a modified file from pull request
1 parent 354b68c commit b34f12b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

beginner_source/blitz/cifar10_tutorial.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,15 @@
9494
import numpy as np
9595

9696
# functions to show an image
97+
98+
9799
def imshow(img):
98100
img = img / 2 + 0.5 # unnormalize
99101
npimg = img.numpy()
100102
plt.imshow(np.transpose(npimg, (1, 2, 0)))
101103
plt.show()
102104

105+
103106
# get some random training images
104107
dataiter = iter(trainloader)
105108
images, labels = next(dataiter)

0 commit comments

Comments
 (0)