dmlcloud.print_worker
- dmlcloud.print_worker(*values, sep=' ', end='\n', file=None, flush=True, barrier=False)
Print the values to a stream, default sys.stdout, with additional information about the worker.
- Parameters:
values (Any) – The values to print.
sep (str, optional) – The separator between arguments. Default is a space.
end (str, optional) – The string to append at the end of the message. Default is a newline.
file (file, optional) – The file to write the message to. Default is None.
flush (bool, optional) – If True, the output buffer is flushed. Default is True.
barrier (bool, optional) – If True, a barrier is inserted before and after printing. Default is False.