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

Function test_gcn

tests/examples/test_sparse_examples.py:14–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def test_gcn():
15 script = os.path.join(EXAMPLE_ROOT, "gcn.py")
16 out = subprocess.run(["python", str(script)], capture_output=True)
17 assert (
18 out.returncode == 0
19 ), f"stdout: {out.stdout.decode('utf-8')}\nstderr: {out.stderr.decode('utf-8')}"
20 stdout = out.stdout.decode("utf-8")
21 assert float(stdout[-5:]) > 0.75
22
23
24def test_gcnii():

Callers

nothing calls this directly

Calls 3

joinMethod · 0.45
runMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected