MCPcopy Create free account
hub / github.com/drinkingcoder/NeuralMarker / upflow8

Function upflow8

core/utils/utils.py:164–166  ·  view source on GitHub ↗
(flow, mode='bilinear')

Source from the content-addressed store, hash-verified

162
163
164def upflow8(flow, mode='bilinear'):
165 new_size = (8 * flow.shape[2], 8 * flow.shape[3])
166 return 8 * F.interpolate(flow, size=new_size, mode=mode, align_corners=True)
167
168
169def entry_convert(entry):

Callers 2

forwardMethod · 0.90
forwardMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected