Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hzwer/ECCV2022-RIFE
/ warplayer.py
File
warplayer.py
model/warplayer.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
import
torch.nn
as
nn
3
4
device = torch.device(
"cuda"
if
torch.cuda.is_available()
else
"cpu"
)
Callers
nothing calls this directly
Calls
1
device
Method · 0.45
Tested by
no test coverage detected