logging
Utility functions for logging.
Functions
Convert big floating number to human readable string. |
|
Silences stdout within the invoked context. |
|
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.