(ctx, grad_output)
| 43 | |
| 44 | @staticmethod |
| 45 | def backward(ctx, grad_output): |
| 46 | numpy_go = grad_output.numpy() |
| 47 | result = irfft2(numpy_go) |
| 48 | return grad_output.new(result) |
| 49 | |
| 50 | # since this layer does not have any parameters, we can |
| 51 | # simply declare this as a function, rather than as an ``nn.Module`` class |
no outgoing calls
no test coverage detected