logging

Utility functions for logging.

Functions

num2hrb

Convert big floating number to human readable string.

no_stdout

Silences stdout within the invoked context.

print_rank_0

Prints only on the master process.

exception DeprecatedError

Bases: NotImplementedError

Error for deprecated functions.

no_stdout()

Silences stdout within the invoked context.

num2hrb(num, suffix='')

Convert big floating number to human readable string.

Parameters:

num (float) –

Return type:

str

print_rank_0(*args, **kwargs)

Prints only on the master process.