MCPcopy Create free account
hub / github.com/VSAnimator/stgan / tensor2im

Function tensor2im

util/util.py:9–27  ·  view source on GitHub ↗

Converts a Tensor array into a numpy image array. Parameters: input_image (tensor) -- the input image tensor array imtype (type) -- the desired type of the converted numpy array

(input_image, imtype=np.uint8)

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