(self, x)
| 337 | return x |
| 338 | |
| 339 | def decode(self, x): |
| 340 | s = x.size() |
| 341 | x = x.view(s[0], -1) |
| 342 | x = (x - self.b)/self.a |
| 343 | x = x.view(s) |
| 344 | return x |
| 345 | |
| 346 | class LpLoss(object): |
| 347 | def __init__(self, d=2, p=2, size_average=True, reduction=True): |
nothing calls this directly
no outgoing calls
no test coverage detected