message: Moving init_scope from Reduce metric to base class add_weight call.
diff: @@ -279,6 +279,7 @@ class Metric(base_layer.Layer):
  if distributed_training_utils.is_tpu_strategy(strategy):
  synchronization = tf_variables.VariableSynchronization.ON_WRITE
  + with ops.init_scope():
  return super(Metric, self).add_weight(
  name=name,
  shape=shape,
  @@ -308,7 +309,6 @@ class Reduce(Metric):
  def __init__(self, reduction, name, dtype=None):
  super(Reduce, self).__init__(name=name, dtype=dtype)
  self.reduction = reduction
  - with ops.init_scope():
  self.total = self.add_weight(
  'total', initializer=init_ops.zeros_initializer)
  if reduction in [metrics_utils.Reduction.SUM_OVER_BATCH_SIZE,
  