MCPcopy Create free account
hub / github.com/NVIDIA/MinkowskiEngine / get_coords

Function get_coords

tests/python/common.py:48–54  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

46
47
48def get_coords(data):
49 coords = []
50 for i, row in enumerate(data):
51 for j, col in enumerate(row):
52 if col != " ":
53 coords.append([i, j])
54 return np.array(coords)
55
56
57def data_loader(

Callers 1

data_loaderFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected