(self, mean, std)
| 189 | |
| 190 | class TupleNormalize(object): |
| 191 | def __init__(self, mean, std): |
| 192 | self.mean = mean |
| 193 | self.std = std |
| 194 | self.normalize = transforms.Normalize(mean=mean, std=std) |
| 195 | |
| 196 | def __call__(self, im_tuple): |
| 197 | return [self.normalize(im) for im in im_tuple] |
nothing calls this directly
no outgoing calls
no test coverage detected