MCPcopy Create free account
hub / github.com/Yonv1943/Python / __init__

Method __init__

ElegantRL/replay.py:9–43  ·  view source on GitHub ↗

Experience Replay Buffer save environment transition in a continuous RAM for high performance training we save trajectory in order and save state and other (action, reward, mask, ...) separately. `int max_len` the maximum capacity of ReplayBuffer. First In First Out

(self, max_len, state_dim, action_dim, if_discrete, if_on_policy, if_per_or_gae)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

BinarySearchTreeClass · 0.70

Tested by

no test coverage detected