MCPcopy 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
33def print_log(s):
34 t = time.ctime()
35 print('[{}]{}'.format(t, s))
36
37def load_data(filepath):
38 with gzip.open(filepath, 'rb') as f:

Callers 2

trainMethod · 0.90
trainMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected