Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ _get_time_str
Function
_get_time_str
tensorpack/utils/logger.py:71–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
70
71
def
_get_time_str():
72
return
datetime.now().strftime(
'%m%d-%H%M%S'
)
73
74
75
# globals: logger file and directory:
Callers
2
_set_file
Function · 0.85
set_logger_dir
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected