plot time delays

This commit is contained in:
wassname
2018-11-27 12:56:50 +08:00
parent b99ad62d56
commit 54e5237347
+1
View File
@@ -79,6 +79,7 @@ Agent.prototype.step = function () {
info.loss = this.brain.learn(reward)
this.action = this.brain.policy(state)
info.x = this.steps
info.time = new Date().getTime()
this.infos.push(info)
}
if (this.action) {