Google I/O returns May 18-20! Reserve space and build your schedule Register now

tf.compat.v1.flags.MultiEnumClassFlag

A multi_enum_class flag.

Inherits From: MultiFlag, Flag

See the doc for MultiFlag for most behaviors of this class. In addition, this class knows how to handle enum.Enum instances as values for this flag type.

value

Methods

flag_type

See base class.

parse

Parses one or more arguments with the installed parser.

Args
arguments a single argument or a list of arguments (typically a list of default values); a single argument is converted internally into a list containing one item.

serialize

Serializes the flag.

unparse

__eq__

Return self==value.

__ge__

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

__gt__

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

__le__

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

__lt__

Return self<value.