tf.compat.v1.flags.BaseListParser
Stay organized with collections
Save and categorize content based on your preferences.
Base class for a parser of lists of strings.
Inherits From: ArgumentParser
tf.compat.v1.flags.BaseListParser(
token=None, name=None
)
To extend, inherit from this class; from the subclass init, call
BaseListParser.__init__(self, token, name)
where token is a character used to tokenize, and name is a description
of the separator.
Methods
flag_type
flag_type()
See base class.
parse
parse(
argument
)
See base class.
Class Variables
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.compat.v1.flags.BaseListParser\n\n\u003cbr /\u003e\n\nBase class for a parser of lists of strings.\n\nInherits From: [`ArgumentParser`](../../../../tf/compat/v1/flags/ArgumentParser)\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.app.flags.BaseListParser`](/api_docs/python/tf/compat/v1/flags/BaseListParser)\n\n\u003cbr /\u003e\n\n tf.compat.v1.flags.BaseListParser(\n token=None, name=None\n )\n\nTo extend, inherit from this class; from the subclass **init**, call \n\n BaseListParser.__init__(self, token, name)\n\nwhere token is a character used to tokenize, and name is a description\nof the separator.\n\nMethods\n-------\n\n### `flag_type`\n\n flag_type()\n\nSee base class.\n\n### `parse`\n\n parse(\n argument\n )\n\nSee base class.\n\nClass Variables\n---------------\n\n- `syntactic_help = ''`"]]