(self, key: str, data: Tensor)
| 57 | getattr(self, key)[self.step].copy_(data) |
| 58 | |
| 59 | def batch_update_data(self, key: str, data: Tensor): |
| 60 | # This class was partially copied from https://github.com/NVlabs/ProtoMotions/blob/94059259ba2b596bf908828cc04e8fc6ff901114/phys_anim/agents/utils/data_utils.py |
| 61 | assert not data.requires_grad |
| 62 | getattr(self, key)[:] = data |
| 63 | # self.store_dict[key] += self.total_sum() |
| 64 | |
| 65 | def _save_hidden_states(self, hidden_states): |
| 66 | assert NotImplementedError |
no outgoing calls
no test coverage detected