code: def test_loader_v1(self):
      ops.disable_eager_execution()
      save_dir = self._create_save_v1_model()
  
      read_count = metrics.GetRead(write_version="1")
      loader = loader_impl.SavedModelLoader(save_dir)
      with self.session(graph=ops.Graph()) as sess:
          loader.load(sess, ["foo"])
      ops.enable_eager_execution()
  
      self.assertEqual(metrics.GetReadApi(loader_impl._LOADER_LABEL), 1)
      self.assertEqual(
          metrics.GetRead(write_version="1"), read_count + 1
      )
  
imports: import os
  from google.protobuf import json_format
  from tensorflow.python.eager import test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.saved_model import builder
  from tensorflow.python.saved_model import builder_impl
  from tensorflow.python.saved_model import fingerprinting
  from tensorflow.python.saved_model import load
  from tensorflow.python.saved_model import load_v1_in_v2
  from tensorflow.python.saved_model import loader_impl
  from tensorflow.python.saved_model import save
  from tensorflow.python.saved_model.pywrap_saved_model import metrics
  from tensorflow.python.trackable import autotrackable
label_desc: Use image node_id 7 for calling the MetricsTests obj's underlying member method code with example usage: obj.test_loader_v1() without return types