Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/THUDM/CogDL
/ test_gen_variants
Function
test_gen_variants
tests/test_experiments.py:30–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
29
30
def
test_gen_variants():
31
variants = list(gen_variants(dataset=[
"cora"
], model=[
"gcn"
,
"gat"
], seed=[1, 2]))
32
33
assert len(variants) == 4
34
35
36
def
test_experiment():
Callers
1
test_experiments.py
File · 0.85
Calls
1
gen_variants
Function · 0.90
Tested by
no test coverage detected