MCPcopy Index your code
hub / github.com/pytorch/tutorials / cache

Method cache

intermediate_source/mario_rl_tutorial.py:257–259  ·  view source on GitHub ↗

Add the experience to memory

(self, experience)

Source from the content-addressed store, hash-verified

255 pass
256
257 def cache(self, experience):
258 """Add the experience to memory"""
259 pass
260
261 def recall(self):
262 """Sample experiences from memory"""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected