tf.compat.v1.flags.MultiFlag

A flag that can appear multiple time on the command-line.

Inherits From: Flag

tf.compat.v1.flags.MultiFlag(
    *args, **kwargs
)

The value of such a flag is a list that contains the individual values from all the appearances of that flag on the command-line.

See the doc for Flag for most behavior of this class. Only differences in behavior are described here:

Attributes:

Methods

__eq__

__eq__(
    other
)

Return self==value.

__ge__

__ge__(
    other, NotImplemented=NotImplemented
)

Return a >= b. Computed by @total_ordering from (not a < b).

__gt__

__gt__(
    other, NotImplemented=NotImplemented
)

Return a > b. Computed by @total_ordering from (not a < b) and (a != b).

__le__

__le__(
    other, NotImplemented=NotImplemented
)

Return a <= b. Computed by @total_ordering from (a < b) or (a == b).

__lt__

__lt__(
    other
)

Return self<value.

flag_type

flag_type()

See base class.

parse

parse(
    arguments
)

Parses one or more arguments with the installed parser.

Args:

serialize

serialize()

Serializes the flag.

unparse

unparse()