title: reshape list of numpy arrays and then reshape back
body: <p>I have a list which consists of several numpy arrays with different shapes.
  I want to reshape this list of arrays into a numpy vector and then change each element in the vector and then reshape it back to the original list of arrays.</p>
  
  <p>For example:</p>
  
  <p>input </p>
  
  <pre><code>[numpy.zeros((2,2)), numpy.ones((3,3))]
  </code></pre>
  
  <ul>
  <li>First</li>
  </ul>
  
  <p>To vector </p>
  
  <pre><code>[0,0,0,0,1,1,1,1,1,1,1,1,1]
  </code></pre>
  
  <ul>
  <li>Second</li>
  </ul>
  
  <p>every time change only one element. for example change the 1st element 0 to 2</p>
  
  <pre><code>[0,2,0,0,1,1,1,1,1,1,1,1,1]
  </code></pre>
  
  <ul>
  <li>Last</li>
  </ul>
  
  <p>convert it back to</p>
  
  <pre><code>[array([[0,2],[0,0]]),array([[1,1,1],[1,1,1],[1,1,1]])]
  </code></pre>
  
  <p>Is there any fast implementation? Thanks very much.</p>