(self, x)
| 13 | return x |
| 14 | |
| 15 | def np2pt(self, x): |
| 16 | x = torch.from_numpy(x) * 2 - 1. |
| 17 | return x |
| 18 | |
| 19 | def __call__(self, sample): |
| 20 | # sample['jpg'] is tensor hwc in [-1, 1] at this point |
nothing calls this directly
no outgoing calls
no test coverage detected