Spec-Zone.ru › TensorFlow

tf.compat.v1.flags.EnumClassSerializer

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.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/compat/v1/flags/EnumClassSerializer

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API