tf.compat.v1.flags.DuplicateFlagError

Raised if there is a flag naming conflict.

Inherits From: Error

Methods

from_flag

@classmethod
from_flag(
    flagname, flag_values, other_flag_values=None
)

Creates a DuplicateFlagError by providing flag name and values.

Args:

Returns:

An instance of DuplicateFlagError.