(self, data)
| 58 | self.max = max |
| 59 | |
| 60 | def transform(self, data): |
| 61 | return ((data - self.min) / (self.max - self.min)) * 2. - 1. |
| 62 | |
| 63 | def inverse_transform(self, data): |
| 64 | if type(data) == torch.Tensor and type(self.min) == np.ndarray: |
nothing calls this directly
no outgoing calls
no test coverage detected