A Stochastic Neural-Network Parameterization for Coarse-grid Climate Models