提交 d3026c6f authored 作者: Frederic Bastien's avatar Frederic Bastien

Sum the timming

上级 34bec6f3
...@@ -560,7 +560,7 @@ def grad(cost, wrt, consider_constant=None, ...@@ -560,7 +560,7 @@ def grad(cost, wrt, consider_constant=None,
rval, = rval rval, = rval
t1 = time.time() t1 = time.time()
global grad_time global grad_time
grad_time = t1 - t0 grad_time += t1 - t0
return rval return rval
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论