(self, residual)
| 214 | return 'rho = {}'.format(self.rho) |
| 215 | |
| 216 | def forward(self, residual): |
| 217 | squared_res = residual ** 2 |
| 218 | dist = torch.div(squared_res, squared_res + self.rho ** 2) |
| 219 | return self.rho ** 2 * dist |
| 220 | |
| 221 | class PerspectiveCamera(nn.Module): |
| 222 |
nothing calls this directly
no outgoing calls
no test coverage detected