MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / process_args

Function process_args

examples/text_ptb/tutorial_ptb_lstm.py:115–123  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

113
114
115def process_args(args):
116 parser = argparse.ArgumentParser()
117
118 parser.add_argument(
119 '--model', default='small', choices=['small', 'medium', 'large'],
120 help="A type of model. Possible options are: small, medium, large."
121 )
122 parameters = parser.parse_args(args)
123 return parameters
124
125
126class PTB_Net(Model):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…