(self, x)
| 363 | return x |
| 364 | |
| 365 | def decode(self, x): |
| 366 | s = x.size() |
| 367 | x = x.view(s[0], -1) |
| 368 | x = (x - self.b)/self.a |
| 369 | x = x.view(s) |
| 370 | return x |
| 371 | |
| 372 | class LpLoss(object): |
| 373 | def __init__(self, d=2, p=2, size_average=True, reduction=True): |
nothing calls this directly
no outgoing calls
no test coverage detected