Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/Cream
/ inference.py
File
inference.py
TinyCLIP/inference.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
from
PIL
import
Image
3
import
open_clip
4
Callers
nothing calls this directly
Calls
4
norm
Method · 0.80
print
Function · 0.50
encode_image
Method · 0.45
encode_text
Method · 0.45
Tested by
no test coverage detected