TranslatorLogger

class paddle.fluid.dygraph.dygraph_to_static.logging_utils. TranslatorLogger ( **kwargs ) [source]

class for Logging and debugging during the tranformation from dygraph to static graph. The object of this class is a singleton.

has_verbosity ( level )

Checks whether the verbosity level set by the user is greater than or equal to the log level. :param level: The level of log. :type level: int

Returns

True if the verbosity level set by the user is greater than or equal to the log level, otherwise False.