mirror of
https://github.com/gryf/coach.git
synced 2026-03-30 00:23:32 +02:00
Batch RL Tutorial (#372)
This commit is contained in:
@@ -198,15 +198,6 @@ class ExperienceReplay(Memory):
|
||||
"""
|
||||
return self.get_transition(transition_index, lock)
|
||||
|
||||
# for API compatibility
|
||||
def remove(self, transition_index: int, lock: bool=True):
|
||||
"""
|
||||
Remove the transition in the given index
|
||||
:param transition_index: the index of the transition to remove
|
||||
:return: None
|
||||
"""
|
||||
self.remove_transition(transition_index, lock)
|
||||
|
||||
def clean(self, lock: bool=True) -> None:
|
||||
"""
|
||||
Clean the memory by removing all the episodes
|
||||
|
||||
Reference in New Issue
Block a user