(self, x)
| 63 | self.rewards = [] |
| 64 | |
| 65 | def forward(self, x): |
| 66 | x = self.affine1(x) |
| 67 | x = self.dropout(x) |
| 68 | x = F.relu(x) |
| 69 | action_scores = self.affine2(x) |
| 70 | return F.softmax(action_scores, dim=1) |
| 71 | |
| 72 | class Observer: |
| 73 | r""" |
nothing calls this directly
no outgoing calls
no test coverage detected