MCPcopy Create free account
hub / github.com/AgentMaker/Paddle-RLBooks / forward

Method forward

ddpg/model.py:33–37  ·  view source on GitHub ↗
(self, state, action)

Source from the content-addressed store, hash-verified

31 self.l3 = nn.Linear(300, 1)
32
33 def forward(self, state, action):
34 q = F.relu(self.l1(state))
35 q = F.relu(self.l2(paddle.concat([q, action], 1)))
36
37 return self.l3(q)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected