Normalize an image array to [-1,1]
(images)
| 89 | |
| 90 | @staticmethod |
| 91 | def normalize(images): |
| 92 | """ |
| 93 | Normalize an image array to [-1,1] |
| 94 | """ |
| 95 | return 2.0 * images - 1.0 |
| 96 | |
| 97 | @staticmethod |
| 98 | def denormalize(images): |
no outgoing calls
no test coverage detected