tf.compat.v1.flags.EnumClassListSerializer
Stay organized with collections
Save and categorize content based on your preferences.
A serializer for MultiEnumClass flags.
Inherits From: ListSerializer
, ArgumentSerializer
tf.compat.v1.flags.EnumClassListSerializer(
list_sep, **kwargs
)
This serializer simply joins the output of EnumClassSerializer
using a
provided seperator.
Args |
list_sep
|
String to be used as a separator when serializing
|
**kwargs
|
Keyword arguments to the EnumClassSerializer used to serialize
individual values.
|
Methods
serialize
serialize(
value
)
See base class.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-05-14 UTC.
[null,null,["Last updated 2021-05-14 UTC."],[],[],null,["# tf.compat.v1.flags.EnumClassListSerializer\n\n\u003cbr /\u003e\n\nA serializer for MultiEnumClass flags.\n\nInherits From: [`ListSerializer`](../../../../tf/compat/v1/flags/ListSerializer), [`ArgumentSerializer`](../../../../tf/compat/v1/flags/ArgumentSerializer)\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.app.flags.EnumClassListSerializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/flags/EnumClassListSerializer)\n\n\u003cbr /\u003e\n\n tf.compat.v1.flags.EnumClassListSerializer(\n list_sep, **kwargs\n )\n\nThis serializer simply joins the output of `EnumClassSerializer` using a\nprovided seperator.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|------------|-------------------------------------------------------------------------------------|\n| `list_sep` | String to be used as a separator when serializing |\n| `**kwargs` | Keyword arguments to the `EnumClassSerializer` used to serialize individual values. |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `serialize`\n\n serialize(\n value\n )\n\nSee base class."]]