MCPcopy Create free account
hub / github.com/rlcode/reinforcement-learning / forward

Method forward

3-atari/1-dqn.py:53–55  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

51 )
52
53 def forward(self, x):
54 # Inputs are uint8 in [0, 255]; normalize on the GPU to save bus bandwidth.
55 return self.fc(self.conv(x.float() / 255.0))
56
57
58class ReplayBuffer:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected