MCPcopy Create free account
hub / github.com/IBM/Project_CodeNet / save_args

Function save_args

model-experiments/gnn-based-experiments/src/utils_file.py:6–10  ·  view source on GitHub ↗
(args, fn)

Source from the content-addressed store, hash-verified

4
5
6def save_args(args, fn):
7 with open(fn, 'w') as f:
8 for k, v in args.__dict__.items():
9 f.write("{},{}\n".format(k, v))
10 print("saved args:", args)
11
12
13def summary_report(val_list):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected