mirror of
https://github.com/wassname/DeepRL.git
synced 2026-10-29 12:40:58 +08:00
Minor refactor
This commit is contained in:
1 parent
7b7d37694e
commit
a145a01cb6
5 files changed
+66
-51
No files matched your search
+2
-1
@@ -31,6 +31,7 @@ class AsyncAgent:
|
||||
test_interval,
|
||||
test_repetitions,
|
||||
history_length,
|
||||
tag,
|
||||
logger):
|
||||
self.network_fn = network_fn
|
||||
self.learning_network = network_fn()
|
||||
@@ -58,7 +59,7 @@ class AsyncAgent:
|
||||
self.test_repetitions = test_repetitions
|
||||
self.logger = logger
|
||||
self.history_length = history_length
|
||||
self.tag = ''
|
||||
self.tag = tag
|
||||
|
||||
def deterministic_episode(self, task, network):
|
||||
state = task.reset()
|
||||
|
||||
Reference in new issue
Block a user