old_contents: import tensorflow as tf
  from . import train
  
  
  
  def minimize(loss):
    return tf.AdamOptimizer().minimize(loss, train.global_step())
  
new_contents: import tensorflow as tf
  from . import train
  
  
  
  def minimize(loss):
    return tf.train.AdamOptimizer().minimize(loss, train.global_step())
  
subject: Fix optimize module