message: Change the return value of initialize/finalize to [] even in eager mode
diff: @@ -21,7 +21,6 @@ from __future__ import print_function
  import threading
  from tensorflow.python.data.ops import dataset_ops
  -from tensorflow.python.eager import context as eager_context
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  @@ -599,12 +598,8 @@ class DistributionStrategy(object):
  For example, TPU initialize_system ops.
  Returns:
  - In eager mode, returns `None`.
  - In graph mode, a list of ops to execute. Empty list if nothing to be done.
  + A list of ops to execute.
  """
  - if eager_context.executing_eagerly():
  - return
  - else:
  return []
  def finalize(self):
  @@ -616,12 +611,8 @@ class DistributionStrategy(object):
  For example, TPU shutdown ops.
  Returns:
  - In eager mode, returns `None`.
  - In graph mode, a list of ops to execute. Empty list if nothing to be done.
  + A list of ops to execute.
  """
  - if eager_context.executing_eagerly():
  - return
  - else:
  return []
  def run_steps_on_dataset(self, fn, iterator, iterations=1,
  