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