MCPcopy
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
18def get_stats():
19 model = create_model(to_device=False, dim_in=1, dim_out=1)
20 return params_count(model)
21
22
23def match_computation(stats_baseline, key=['gnn', 'dim_inner'], mode='sqrt'):

Callers 2

match_computationFunction · 0.85
dict_to_statsFunction · 0.85

Calls 2

create_modelFunction · 0.90
params_countFunction · 0.85

Tested by

no test coverage detected