Class for generating string representations of an enum class flag value.
Inherits From: ArgumentSerializer
tf.compat.v1.flags.EnumClassSerializer(
lowercase: bool
) -> None
Args | |
---|---|
lowercase
|
If True, enum member names are lowercased during serialization. |
Methods
serialize
serialize(
value: _ET
) -> Text
Returns a serialized string of the Enum class value.