MCPcopy 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
190def pad_image(img):
191 if(args.fp16):
192 return F.pad(img, padding).half()
193 else:
194 return F.pad(img, padding)
195
196if args.montage:
197 left = w // 4

Callers 1

inference_video.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected