title: Keras Dot Axes questions
body: <p>I am trying to use Keras <code>Dot</code> and have the following errors.
  Could you explain what I am doing wrong?</p>
  
  
  
  <pre class="lang-py prettyprint-override"><code>x1 = Input(shape=(2,4))
  x2 = Input(shape=(4,))
  y1 = dot([x1,x2], axes = (2,1))
  modelA = Model(inputs=[x1, x2], outputs=y1)
  
  a1 = np.arange(16).reshape(2,2,4)
  a2 = np.array( [1,2,3,4] )
  
  modelA.predict([a1,a2])
  
  ----&gt;
  ValueError: Error when checking : expected input_40 to have shape (None, 4) but 
  got array with shape (4, 1)
  </code></pre>