Generalizable neural-network parameterization of mesoscale eddies in idealized and global ocean models — arXiv2