TensorFlow

API

 tf.compat / v1 / v1.flags.DuplicateFlagError


Basic enum flag; its value is an enum class's member.

Inherits From: Flag

value

Methods

flag_type

Returns a str that describes the type of the flag.

parse

Parses string and sets flag value.

Args
argument str or the correct flag value type, argument to be parsed.

serialize

Serializes the flag.

unparse

__eq__

Return self==value.

__ge__

Return a >= b. Computed by @total_ordering from (not a < b).

__gt__

Return a > b. Computed by @total_ordering from (not a < b) and (a != b).

__le__

Return a <= b. Computed by @total_ordering from (a < b) or (a == b).

__lt__

Return self<value.


此页内容是否对您有帮助