MCPcopy Index your code
hub / github.com/tensorflow/models / _log

Function _log

orbit/controller.py:38–41  ·  view source on GitHub ↗

Logs `message` to the `info` log, and also prints to stdout.

(message: str)

Source from the content-addressed store, hash-verified

36
37
38def _log(message: str):
39 """Logs `message` to the `info` log, and also prints to stdout."""
40 logging.info(message)
41 print(message)
42
43
44logging.ABSLLogger.register_frame_to_skip(__file__, _log.__name__)

Callers 6

__init__Method · 0.85
trainMethod · 0.85
evaluateMethod · 0.85
restore_checkpointMethod · 0.85
_train_n_stepsMethod · 0.85

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected