title: TypeError: __init__() got multiple values for argument 'axes'
body: <p>I want to use attention mechanism with the code bellow : <BR></p>
  
  <pre><code>attention = Dot([decoder_outputs, encoder_outputs], axes=[2, 1])
  attention = Activation('softmax')(attention)
  
  context = Dot([attention, encoder_outputs], axes=[2,1])
  decoder_combined_context = concatenate([context, decoder_outputs])
  </code></pre>
  
  <p>But i have this error message and i don't know how to fix it </p>
  
  <pre><code>Traceback (most recent call last):
  
      attention = Dot([decoder_outputs, encoder_outputs], axes=[2, 1])
  
  TypeError: __init__() got multiple values for argument 'axes'
  </code></pre>
  
  <p>I'm using keras version 2.3.1 with tensorflow version 2.1.0</p>