(self, inp)
| 9 | self.register_buffer('scale', torch.Tensor(std)[None, :, None, None]) |
| 10 | |
| 11 | def forward(self, inp): |
| 12 | return (inp - self.shift) / self.scale |
| 13 | |
| 14 | def inv(self, inp): |
| 15 | return inp * self.scale + self.shift |
nothing calls this directly
no outgoing calls
no test coverage detected