Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytorch/vision
/ smoke_test_torchvision
Function
smoke_test_torchvision
test/smoke_test.py:17–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
16
17
def
smoke_test_torchvision() -> None:
18
print(
19
"Is torchvision usable?"
,
20
all(x is not None
for
x in [torch.ops.image.decode_png, torch.ops.torchvision.roi_align]),
21
)
22
23
24
def
smoke_test_torchvision_read_decode() -> None:
Callers
1
main
Function · 0.85
Calls
1
print
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…