matrix-sqrt
matrix-sqrt copied to clipboard
Made changes to support Python 3 and PyTorch >= 0.4.
Hi,
I changed two things to get matrix-sqrt running with Python 3 and PyTorch >= 0.4. It should still run with Python 2 but not with PyTorch <= 0.3.
Thanks for providing these useful functions!
Added more changes to execute the script only when it is run directly but not when imported.
Thanks Florian!