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

Method empty_buffer

ElegantRL/replay.py:139–144  ·  view source on GitHub ↗

we empty the buffer by set now_len=0. On-policy need to empty buffer before exploration

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

prepare_bufferMethod · 0.45
empty_bufferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected