espnet2.utils.get_default_kwargs.Invalid
Less than 1 minute
espnet2.utils.get_default_kwargs.Invalid
class espnet2.utils.get_default_kwargs.Invalid
Bases: object
Marker object for not serializable-object.
This class serves as a marker to indicate that an object is not serializable. It can be used as a return value in functions that need to signal the presence of an invalid object, particularly in the context of serialization.
None
Examples
>>> invalid_instance = Invalid()
>>> isinstance(invalid_instance, Invalid)
True