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

Method act

intermediate_source/mario_rl_tutorial.py:253–255  ·  view source on GitHub ↗

Given a state, choose an epsilon-greedy action

(self, state)

Source from the content-addressed store, hash-verified

251 pass
252
253 def act(self, state):
254 """Given a state, choose an epsilon-greedy action"""
255 pass
256
257 def cache(self, experience):
258 """Add the experience to memory"""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected