Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/hzwer/ECCV2022-RIFE
/ pad_image
Function
pad_image
inference_video.py:190–194 ·
view source on GitHub ↗
(img)
Source
from the content-addressed store, hash-verified
188
return
[*first_half, *second_half]
189
190
def
pad_image(img):
191
if
(args.fp16):
192
return
F.pad(img, padding).half()
193
else
:
194
return
F.pad(img, padding)
195
196
if
args.montage:
197
left = w // 4
Callers
1
inference_video.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected