dgbpy.dgb_dgbkeras2onnx

Module Contents

Classes

MyParser

Object for parsing command line strings into Python objects.

Attributes

__version__

parser

args

info

ex_indata

sess

res_onnx

res_keras

dgbpy.dgb_dgbkeras2onnx.__version__ = 1.0
class dgbpy.dgb_dgbkeras2onnx.MyParser(prog=None, usage=None, description=None, epilog=None, parents=[], formatter_class=HelpFormatter, prefix_chars='-', fromfile_prefix_chars=None, argument_default=None, conflict_handler='error', add_help=True, allow_abbrev=True)

Bases: argparse.ArgumentParser

Object for parsing command line strings into Python objects.

Keyword Arguments:
  • prog – The name of the program (default: sys.argv[0])

  • usage – A usage message (default: auto-generated from arguments)

  • description – A description of what the program does

  • epilog – Text following the argument descriptions

  • parents – Parsers whose arguments should be copied into this one

  • formatter_class – HelpFormatter class for printing help messages

  • prefix_chars – Characters that prefix optional arguments

  • fromfile_prefix_chars – Characters that prefix files containing

    additional arguments

  • argument_default – The default value for all arguments

  • conflict_handler – String indicating how to handle conflicts

  • add_help – Add a -h/-help option

  • allow_abbrev – Allow long options to be abbreviated unambiguously

error(self, message)

error(message: string)

Prints a usage message incorporating the message to stderr and exits.

If you override this in a subclass, it should not return – it should either exit or raise an exception.

dgbpy.dgb_dgbkeras2onnx.parser
dgbpy.dgb_dgbkeras2onnx.args
dgbpy.dgb_dgbkeras2onnx.info
dgbpy.dgb_dgbkeras2onnx.ex_indata
dgbpy.dgb_dgbkeras2onnx.sess
dgbpy.dgb_dgbkeras2onnx.res_onnx
dgbpy.dgb_dgbkeras2onnx.res_keras