ai2cm / fv3net

explore the FV3 data for parameterization
MIT License
16 stars 3 forks source link

Decoder always returns list of arrays #2312

Closed AnnaKwa closed 1 year ago

AnnaKwa commented 1 year ago

One-liner fix for the case where there is only one output variable. Keras models return a list of arrays for >2 outputs, but just an array for 1 output. This PR ensures a list is always returned.