Spec-Zone.ru › TensorFlow

tf.compat.v1.flags.BaseListParser

Base class for a parser of lists of strings.

Inherits From: ArgumentParser

tf.compat.v1.flags.BaseListParser(
    token: Optional[Text] = None, name: Optional[Text] = None
) -> None

To extend, inherit from this class; from the subclass __init__, call::

super().__init__(token, name)

where token is a character used to tokenize, and name is a description of the separator.

Methods

flag_type

flag_type() -> Text

See base class.

parse

parse(
    argument: Text
) -> List[Text]

See base class.

Class Variables
syntactic_help ''

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/compat/v1/flags/BaseListParser

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API