MCPcopy Create free account
hub / github.com/albanie/mcnPyTorch / pt_tensor_to_array

Function pt_tensor_to_array

python/pytorch_utils.py:130–140  ·  view source on GitHub ↗

Convert a PyTorch Tensor to a numpy array. (changes the order of dimensions to [width, height, channels, instance])

(tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

setTensorMethod · 0.85
setTensorMethod · 0.85

Calls 2

tolistFunction · 0.85
transposeMethod · 0.45

Tested by

no test coverage detected