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

Function tolist

python/pytorch_utils.py:119–128  ·  view source on GitHub ↗

Convert x to a Python list. x can be a Torch size tensor, a list, tuple or scalar

(x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

pt_tensor_to_arrayFunction · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected