title: How to use tf.contrib.keras.optimizers.Adamax ?
body: <p>I use the tf.AdamOptimizer in tensorflow 1.2:</p>
  
  <pre><code>train_opt = tf.train.AdamOptimizer(learning_rate=0.0004).minimize(error)
  </code></pre>
  
  <p>now I want to replace it with the new <a href="https://www.tensorflow.org/api_docs/python/tf/contrib/keras/optimizers/Adamax" rel="nofollow noreferrer">tf.contrib.keras.optimizers</a>:</p>
  
  <pre><code>train_opt = tf.contrib.keras.optimizers.Adamax(lr=0.0004)
  </code></pre>
  
  <p>But how can I minimize the error?? ( adding .minimize(error) does not work) </p>