from tensorflow.python.ops import variables

      update_op = clip_opt.apply_gradients(
          list(zip([grads, grads], [var0, var1])))
      variables.global_variables_initializer().run()
    return var0, var1, update_op
