MCPcopy Create free account
hub / github.com/cszn/USRNet / downsample

Function downsample

models/network_usrnet.py:168–176  ·  view source on GitHub ↗

s-fold downsampler Keeping the upper-left pixel for each distinct sfxsf patch and discarding the others x: tensor image, NxCxWxH

(x, sf=3)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected