Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/snap-stanford/GraphGym
/ get_stats
Function
get_stats
graphgym/utils/comp_budget.py:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
17
18
def
get_stats():
19
model = create_model(to_device=False, dim_in=1, dim_out=1)
20
return
params_count(model)
21
22
23
def
match_computation(stats_baseline, key=[
'gnn'
,
'dim_inner'
], mode=
'sqrt'
):
Callers
2
match_computation
Function · 0.85
dict_to_stats
Function · 0.85
Calls
2
create_model
Function · 0.90
params_count
Function · 0.85
Tested by
no test coverage detected