MCPcopy Create free account
hub / github.com/circuitnet/CircuitNet / resize

Function resize

feature_extraction/vis.py:24–27  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

22 return sub_path
23
24def resize(input):
25 dimension = input.shape
26 result = ndimage.zoom(input, (256 / dimension[0], 256 / dimension[1]), order=3)
27 return result
28
29def std(input):
30 if input.max() == 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected