message: Update simplernn_test to use v2 mode.
  Test case that can only run in v1 has bug attached.
diff: @@ -22,14 +22,15 @@ import numpy as np
  from tensorflow.python import keras
  from tensorflow.python.framework import test_util as tf_test_util
  +from tensorflow.python.keras import keras_parameterized
  from tensorflow.python.keras import testing_utils
  from tensorflow.python.platform import test
  from tensorflow.python.training import gradient_descent
  from tensorflow.python.training.rmsprop import RMSPropOptimizer
  -@tf_test_util.run_all_in_graph_and_eager_modes
  -class SimpleRNNLayerTest(test.TestCase):
  +@keras_parameterized.run_all_keras_modes
  +class SimpleRNNLayerTest(keras_parameterized.TestCase):
  def test_return_sequences_SimpleRNN(self):
  num_samples = 2
  @@ -118,17 +119,12 @@ class SimpleRNNLayerTest(test.TestCase):
  l2 = layer_class.from_config(l1.get_config())
  assert l1.get_config() == l2.get_config()
  -
  -class SimpleRNNLayerGraphOnlyTest(test.TestCase):
  -
  - @tf_test_util.run_v1_only('b/120545219')
  def test_statefulness_SimpleRNN(self):
  num_samples = 2
  timesteps = 3
  embedding_dim = 4
  units = 2
  layer_class = keras.layers.SimpleRNN
  - with self.cached_session():
  model = keras.models.Sequential()
  model.add(
  keras.layers.Embedding(
  @@ -185,11 +181,14 @@ class SimpleRNNLayerGraphOnlyTest(test.TestCase):
  np.testing.assert_allclose(out7, out6, atol=1e-5)
  +
  +class SimpleRNNLayerGraphOnlyTest(test.TestCase):
  +
  + # b/120919032
  @tf_test_util.run_deprecated_v1
  def test_regularizers_SimpleRNN(self):
  embedding_dim = 4
  layer_class = keras.layers.SimpleRNN
  - with self.cached_session():
  layer = layer_class(
  5,
  return_sequences=False,
  