A cheap, GPU/TPU-friendly method for eigenvalue clipping useful for e.g. controlling weight norms in deep learning and projection on the positive semi-definite cone.| leloykun.github.io