MCPcopy Create free account
hub / github.com/circuitnet/CircuitNet / parse_args

Function parse_args

net_delay_prediction/build_graph.py:43–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42
43def parse_args():
44 parser = argparse.ArgumentParser()
45
46 parser.add_argument("--task", default = 'net_delay', type=str, help = 'only support net delay for now' )
47 parser.add_argument("--data_path", default = './post_route', type=str, help = 'path to the parent dir of features: nodes, net_edges, pin_positions')
48 parser.add_argument("--save_path", default = './graph', type=str, help = 'path to save')
49
50 args = parser.parse_args()
51 return args
52
53if __name__ == '__main__':
54 args = parse_args()

Callers 1

build_graph.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected