MCPcopy Index your code
hub / github.com/pytorch/examples / timed_log

Function timed_log

distributed/rpc/batch/parameter_server.py:27–28  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

25
26
27def timed_log(text):
28 print(f"{datetime.now().strftime('%H:%M:%S')} {text}")
29
30
31class BatchUpdateParameterServer(object):

Callers 3

trainMethod · 0.85
run_psFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected