title: How to save a list of numpy arrays into a single file and load file back to original form
body: <p>I am currently trying to save a list of numpy arrays into a single file, an example of such a list can be of the form below</p>
  
  <pre class="lang-py prettyprint-override"><code>import numpy as np
  np_list = []
  for i in range(10):
      if i % 2 == 0:
          np_list.append(np.random.randn(64))
      else:
          np_list.append(np.random.randn(32, 64))
  </code></pre>
  
  <p>I can combine all of them using into a single file using <code>savez</code> by iterating through list but is there any other way? I am trying to save weights returned by the function <code>model.get_weights()</code>, which is a list of <code>ndarray</code> and after retrieving the weights from the saved file I intend to load those weights into another model using <code>model.set_weights(np_list)</code>. Therefore the format of the list must remain the same. Let me know if anyone has an elegant way of doing this.</p>