message: Update v1 only `legacy_tf_layers` base layer test with proper reason.
diff: @@ -162,7 +162,7 @@ class BaseLayerTest(test.TestCase, parameterized.TestCase):
  synchronization=variable_scope.VariableSynchronization.ON_READ,
  trainable=True)
  - @test_util.run_deprecated_v1
  + @test_util.run_v1_only('Legacy TF Base layer is supported only in V1.')
  def testReusePartitionedVariablesAndRegularizers(self):
  regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3
  partitioner = partitioned_variables.fixed_size_partitioner(3)
  @@ -464,7 +464,7 @@ class BaseLayerTest(test.TestCase, parameterized.TestCase):
  self.assertTrue(isinstance(result, dict))
  self.assertEqual(set(['label', 'logits']), set(result.keys()))
  - @test_util.run_deprecated_v1
  + @test_util.run_v1_only('Legacy TF Base layer is supported only in V1.')
  def testActivityRegularizer(self):
  regularizer = math_ops.reduce_sum
  layer = base_layers.Layer(activity_regularizer=regularizer)
  @@ -553,7 +553,7 @@ class BaseLayerTest(test.TestCase, parameterized.TestCase):
  self.assertEqual(len(layer.trainable_variables), 1)
  self.assertEqual(layer.variables[0].graph, outer_graph)
  - @test_util.run_deprecated_v1
  + @test_util.run_v1_only('Legacy TF Base layer is supported only in V1.')
  def testGetUpdateFor(self):
  class MyLayer(base_layers.Layer):
  @@ -598,7 +598,7 @@ class BaseLayerTest(test.TestCase, parameterized.TestCase):
  self.assertEqual(len(layer.get_updates_for([intermediate_inputs])), 1)
  self.assertEqual(len(layer.get_updates_for([outputs])), 0)
  - @test_util.run_deprecated_v1
  + @test_util.run_v1_only('Legacy TF Base layer is supported only in V1.')
  def testGetLossesFor(self):
  class MyLayer(base_layers.Layer):
  