# tf.compat.v1.flags.MultiEnumClassFlag

<br />

A multi_enum_class flag.

Inherits From: [`MultiFlag`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/flags/MultiFlag), [`Flag`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/flags/Flag)

    tf.compat.v1.flags.MultiEnumClassFlag(
        name: str,
        default: Union[None, Iterable[_ET], _ET, Iterable[Text], Text],
        help_string: str,
        enum_class: Type[_ET],
        case_sensitive: bool = False,
        **args
    )

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.

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `value` | <br /> <br /> |

<br />

## Methods

### `flag_type`

    flag_type()

See base class.

### `parse`

    parse(
        arguments: Union[Text, _T, Iterable[_T]]
    )

Parses one or more arguments with the installed parser.

<br />

<br />

<br />

| 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. |

<br />

### `serialize`

    serialize() -> Text

Serializes the flag.

### `unparse`

    unparse() -> None

### `__bool__`

    __bool__()

### `__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.