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

Function print_sparse_tensor

examples/convolution.py:43–45  ·  view source on GitHub ↗
(tensor)

Source from the content-addressed store, hash-verified

41
42
43def print_sparse_tensor(tensor):
44 for c, f in zip(tensor.C.numpy(), tensor.F.detach().numpy()):
45 print(f"Coordinate {c} : Feature {f}")
46
47
48def conv():

Callers 1

convFunction · 0.85

Calls 1

detachMethod · 0.80

Tested by

no test coverage detected