MCPcopy
hub / github.com/dmlc/dgl / test_sample_neighbors_prob

Function test_sample_neighbors_prob

tests/python/common/sampling/test_sampling.py:1139–1143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1137
1138
1139def test_sample_neighbors_prob():
1140 _test_sample_neighbors(False, "prob", False)
1141 if F._default_context_str != "gpu" and F.backend_name == "pytorch":
1142 _test_sample_neighbors(False, "prob", True)
1143 # _test_sample_neighbors(True)
1144
1145
1146def test_sample_labors_prob():

Callers 1

test_sampling.pyFile · 0.85

Calls 1

_test_sample_neighborsFunction · 0.85

Tested by

no test coverage detected