def METHOD_NAME():
  model_variables = model_variables_fn()
  optimizer = keras_optimizer_fn()
  for grad in gradients:
    optimizer.apply_gradients(zip(grad, model_variables))
  return model_variables