[tf.data] Remove several unnecessary lines in the test.

PiperOrigin-RevId: 312208396
Change-Id: I52acdc04caea09ac83b4c9ac12378c818af650e6
This commit is contained in:
A. Unique TensorFlower 2020-05-18 20:42:25 -07:00 committed by TensorFlower Gardener
parent 125ce1812d
commit 489c8de9af

View File

@ -107,9 +107,6 @@ class OptionsTest(test_base.DatasetTestBase, parameterized.TestCase):
for _ in range(999):
result = result.concatenate(ds)
options = dataset_ops.Options()
options.experimental_optimization.autotune = True
result = result.with_options(options)
self.assertDatasetProduces(result, [0]*1000)