tf.compat.v1.flags.EnumClassSerializer

Class for generating string representations of an enum class flag value.

Inherits From: ArgumentSerializer

lowercase If True, enum member names are lowercased during serialization.

Methods

serialize

Returns a serialized string of the Enum class value.