Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/microsoft/Cream
/ inference.py
File
inference.py
TinyViT/inference.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"Model Inference."
""
2
import
torch
3
import
numpy
as
np
4
from
PIL
import
Image
Callers
nothing calls this directly
Calls
5
get_config
Function · 0.90
tiny_vit_21m_224
Function · 0.90
build_transform
Function · 0.90
transform
Function · 0.50
print
Function · 0.50
Tested by
no test coverage detected