complexPyTorch
complexPyTorch copied to clipboard
fix memory leak + reformatting
This PR fixes the memory leak with ComplexBatchNorm1d (I added with torch.no_grad as it was missing)
- reformatting the code to be more readable and less error-prone
There were some merge conflicts that I have fixed