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

Method test

tests/python/sparse_tensor.py:43–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41
42class SparseTensorTestCase(unittest.TestCase):
43 def test(self):
44 print(f"{self.__class__.__name__}: test SparseTensor")
45 coords, feats, labels = data_loader(nchannel=2)
46 input = SparseTensor(feats, coordinates=coords)
47 print(input)
48
49 def test_empty(self):
50 print(f"{self.__class__.__name__}: test_empty SparseTensor")

Callers

nothing calls this directly

Calls 2

data_loaderFunction · 0.90
SparseTensorClass · 0.90

Tested by

no test coverage detected