(self, x)
| 53 | self.value = _ortho(nn.Linear(512, 1), 1.0) |
| 54 | |
| 55 | def forward(self, x): |
| 56 | h = self.conv(x.float() / 255.0) |
| 57 | return self.policy(h), self.value(h).squeeze(-1) |
| 58 | |
| 59 | |
| 60 | def compute_gae(rewards, values, dones, last_value): |
nothing calls this directly
no outgoing calls
no test coverage detected