(self, obs)
| 92 | self.gru_dim = gru_dim |
| 93 | |
| 94 | def features(self, obs): |
| 95 | h = self.ln(torch.relu(self.fc(self.conv(obs / 255.0)))) |
| 96 | return h |
| 97 | |
| 98 | def step(self, obs, hx, inc_entropy=None): |
| 99 | """One timestep for acting. obs (B,4,105,80), hx (B,gru). Returns |