Logging and Configuration#

set_log_level

Set the logging level.

set_seed

Set global random seed for random, Numpy and PyTorch.

unpacked

Positional arguments are unpacked as lists.

mapping_to_str

Convert a mapping (e.g., dict) into a string format.

iterable_to_str

Convert any iterable (e.g., list, tuple, set) into a string format.

align_text

Aligns text, adding a specified prefix to the beginning of line.

get_init_args

Get object initialization parameters.