Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/THUDM/CogDL
/ build_args_from_dict
Function
build_args_from_dict
cogdl/utils/utils.py:24–28 ·
view source on GitHub ↗
(dic)
Source
from the content-addressed store, hash-verified
22
23
24
def
build_args_from_dict(dic):
25
args = ArgClass()
26
for
key, value in dic.items():
27
args.__setattr__(key, value)
28
return
args
29
30
31
def
update_args_from_dict(args, dic):
Callers
15
test_build_args_from_dict
Function · 0.90
test_chameleon
Function · 0.90
test_cornell
Function · 0.90
test_film
Function · 0.90
test_squirrel
Function · 0.90
test_texas
Function · 0.90
test_wisconsin
Function · 0.90
test_citeseer_geom
Function · 0.90
test_dblp_ne
Function · 0.90
test_gcc_kdd_icdm
Function · 0.90
test_rec_dataset
Function · 0.90
test_oagbert_dataset
Function · 0.90
Calls
1
ArgClass
Class · 0.85
Tested by
15
test_build_args_from_dict
Function · 0.72
test_chameleon
Function · 0.72
test_cornell
Function · 0.72
test_film
Function · 0.72
test_squirrel
Function · 0.72
test_texas
Function · 0.72
test_wisconsin
Function · 0.72
test_citeseer_geom
Function · 0.72
test_dblp_ne
Function · 0.72
test_gcc_kdd_icdm
Function · 0.72
test_rec_dataset
Function · 0.72
test_oagbert_dataset
Function · 0.72