Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/deepspeedai/DeepSpeedExamples
/ imshow
Function
imshow
cifar/cifar10_tutorial.py:95–99 ·
view source on GitHub ↗
(img)
Source
from the content-addressed store, hash-verified
93
94
95
def
imshow(img):
96
img = img / 2 + 0.5
# unnormalize
97
npimg = img.numpy()
98
plt.imshow(np.transpose(npimg, (1, 2, 0)))
99
plt.show()
100
101
102
# get some random training images
Callers
1
cifar10_tutorial.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected