(ctx, input)
| 37 | class BadFFTFunction(Function): |
| 38 | @staticmethod |
| 39 | def forward(ctx, input): |
| 40 | numpy_input = input.detach().numpy() |
| 41 | result = abs(rfft2(numpy_input)) |
| 42 | return input.new(result) |
| 43 | |
| 44 | @staticmethod |
| 45 | def backward(ctx, grad_output): |
nothing calls this directly
no outgoing calls
no test coverage detected