(x)
| 165 | |
| 166 | def _get_samples(self, batch_inds: np.ndarray) -> PpoBufferSamples: |
| 167 | def to_torch(x): |
| 168 | return th.as_tensor(x).to(self.device) |
| 169 | # return th.from_numpy(x.astype(np.float32)).to(self.device) |
| 170 | |
| 171 | obs_dict = {} |
| 172 | for k in self.observations.keys(): |
nothing calls this directly
no outgoing calls
no test coverage detected