MCPcopy Create free account
hub / github.com/OpenMeshLab/MeshXL / to_list_1d

Function to_list_1d

utils/misc.py:14–16  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

12
13@torch.jit.ignore
14def to_list_1d(arr) -> List[float]:
15 arr = arr.detach().cpu().numpy().tolist()
16 return arr
17
18
19@torch.jit.ignore

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected