message: Disable v1 loop test on v2
  Summary:
  Cannot use a V1 loop in V2 and expect variables to appear
  in the internal loop context.
  Manifest Task: T10908
  Test Plan: Test now ok on v2 and v1
  Reviewers: #tensorflow, georgep
diff: @@ -332,7 +332,7 @@ class AutoshardTest(test_util.TensorFlowTestCase):
  self.assertTrue('Conv2DBackpropFilter' in op_types)
  self.assertTrue('ResourceApplyGradientDescent' in op_types)
  - @test_util.deprecated_graph_mode_only
  + @test_util.run_v1_only("no v1 loops in v2")
  def testSimpleXlaCompileTrainingInLoopV1WithEarlySharding(self):
  dataset = tu.create_dual_increasing_dataset(3)
  