TRAM: Bridging Trust Regions and Sharpness Aware Minimization