Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ print_log
Function
print_log
examples/gan/utils.py:33–35 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
31
import
urllib
as
ul_request
32
33
def
print_log(s):
34
t = time.ctime()
35
print(
'[{}]{}'
.format(t, s))
36
37
def
load_data(filepath):
38
with
gzip.open(filepath,
'rb'
)
as
f:
Callers
2
train
Method · 0.90
train
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected