message: Deprecated tf.Session removed in bidirectional_sequence_lstm_test.py
diff: @@ -178,7 +178,7 @@ class BidirectionalSequenceLstmTest(test_util.TensorFlowTestCase):
  x, prediction, output_class = self.buildModel(fw_lstm_layer, bw_lstm_layer,
  is_dynamic_rnn)
  - new_sess = tf.Session(config=CONFIG)
  + new_sess = tf.compat.v1.Session(config=CONFIG)
  saver = tf.train.Saver()
  saver.restore(new_sess, model_dir)
  return x, prediction, output_class, new_sess
  @@ -240,7 +240,7 @@ class BidirectionalSequenceLstmTest(test_util.TensorFlowTestCase):
  return result
  def testStaticRnnMultiRnnCell(self):
  - sess = tf.Session(config=CONFIG)
  + sess = tf.compat.v1.Session(config=CONFIG)
  x, prediction, output_class = self.buildModel(self.buildLstmLayer(),
  self.buildLstmLayer(), False)
  @@ -258,7 +258,7 @@ class BidirectionalSequenceLstmTest(test_util.TensorFlowTestCase):
  @test_util.enable_control_flow_v2
  def testDynamicRnnMultiRnnCell(self):
  - sess = tf.Session(config=CONFIG)
  + sess = tf.compat.v1.Session(config=CONFIG)
  x, prediction, output_class = self.buildModel(self.buildLstmLayer(),
  self.buildLstmLayer(), True)
  