(self, x: Union[Dict, torch.Tensor, np.ndarray])
| 73 | return _normalize(x, params, forward=forward) |
| 74 | |
| 75 | def normalize(self, x: Union[Dict, torch.Tensor, np.ndarray]) -> torch.Tensor: |
| 76 | return self._normalize_impl(x, forward=True) |
| 77 | |
| 78 | def unnormalize(self, x: Union[Dict, torch.Tensor, np.ndarray]) -> torch.Tensor: |
| 79 | return self._normalize_impl(x, forward=False) |
no test coverage detected