mirror of
https://github.com/wassname/ray.git
synced 2026-09-30 11:40:50 +08:00
Update common.py (#996)
This commit is contained in:
1 parent
a432285e77
commit
5c70faf76b
1 file changed
+1
-1
@@ -141,8 +141,8 @@ class Agent(object):
|
||||
"""
|
||||
|
||||
start = time.time()
|
||||
self.iteration += 1
|
||||
result = self._train()
|
||||
self.iteration += 1
|
||||
time_this_iter = time.time() - start
|
||||
|
||||
self.time_total += time_this_iter
|
||||
|
||||
Reference in new issue
Block a user