message: Update V1 only saving_utils_test with graph scope.
diff: @@ -35,7 +35,6 @@ from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_spec
  -from tensorflow.python.framework import test_util
  from tensorflow.python.keras import backend as K
  from tensorflow.python.keras import combinations
  from tensorflow.python.keras import keras_parameterized
  @@ -295,10 +294,12 @@ class ModelSaveTest(keras_parameterized.TestCase):
  {input_name: np.ones((8, 5))}))
  -@test_util.run_deprecated_v1 # Not used in v2.
  class ExtractModelMetricsTest(keras_parameterized.TestCase):
  def test_extract_model_metrics(self):
  + # saving_utils.extract_model_metrics is used in V1 only API
  + # keras.experimental.export_saved_model.
  + with ops.Graph().as_default():
  a = keras.layers.Input(shape=(3,), name='input_a')
  b = keras.layers.Input(shape=(3,), name='input_b')
  