MCPcopy Index your code
hub / github.com/dmlc/dgl / HashTestDataset

Class HashTestDataset

tests/python/common/data/test_data.py:113–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111@unittest.skipIf(dgl.backend.backend_name == "mxnet", reason="Skip MXNet")
112def test_data_hash():
113 class HashTestDataset(data.DGLDataset):
114 def __init__(self, hash_key=()):
115 super(HashTestDataset, self).__init__("hashtest", hash_key=hash_key)
116
117 def _load(self):
118 pass
119
120 a = HashTestDataset((True, 0, "1", (1, 2, 3)))
121 b = HashTestDataset((True, 0, "1", (1, 2, 3)))

Callers 1

test_data_hashFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_data_hashFunction · 0.68