MCPcopy Create free account
hub / github.com/AgentMaker/Paddle-RLBooks / __init__

Method __init__

ddpg/replay_memory.py:8–9  ·  view source on GitHub ↗
(self, max_size)

Source from the content-addressed store, hash-verified

6
7class ReplayMemory(object):
8 def __init__(self, max_size):
9 self.buffer = collections.deque(maxlen=max_size)
10
11 def append(self, exp):
12 self.buffer.append(exp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected