code: def testShowAllWithPureConcreteFunction(self, get_ops_mock):
      class DummyModel(autotrackable.AutoTrackable):
          """Model with a callable concrete function."""
  
          def __init__(self):
              function = def_function.function(
                  self.multiply,
                  input_signature=[
                      tensor_spec.TensorSpec(
                          shape=(), dtype=dtypes.float32
                      ),
                      tensor_spec.TensorSpec(
                          shape=(), dtype=dtypes.float32
                      ),
                  ],
              )
              self.pure_concrete_function = (
                  function.get_concrete_function()
              )
              super(DummyModel, self).__init__()
  
          def multiply(self, a, b):
              return a * b
  
      # Mocking _get_ops_in_metagraph because it returns a nondeterministically
      # ordered set of ops.
      get_ops_mock.return_value = {"Op1"}
      saved_model_dir = os.path.join(test.get_temp_dir(), "dummy_model")
      dummy_model = DummyModel()
      with self.cached_session():
          save.save(dummy_model, saved_model_dir)
  
      exp_out = """MetaGraphDef with tag-set: 'serve' contains the following SignatureDefs:
  
  signature_def['__saved_model_init_op']:
    The given SavedModel SignatureDef contains the following input(s):
    The given SavedModel SignatureDef contains the following output(s):
      outputs['__saved_model_init_op'] tensor_info:
          dtype: DT_INVALID
          shape: unknown_rank
          name: NoOp
    Method name is: 
  
  signature_def['serving_default']:
    The given SavedModel SignatureDef contains the following input(s):
      inputs['a'] tensor_info:
          dtype: DT_FLOAT
          shape: ()
          name: serving_default_a:0
      inputs['b'] tensor_info:
          dtype: DT_FLOAT
          shape: ()
          name: serving_default_b:0
    The given SavedModel SignatureDef contains the following output(s):
      outputs['output_0'] tensor_info:
          dtype: DT_FLOAT
          shape: ()
          name: PartitionedCall:0
    Method name is: tensorflow/serving/predict
  The MetaGraph with tag set ['serve'] contains the following ops: {'Op1'}
  
  Concrete Functions:
    Function Name: 'pure_concrete_function'
      Option #1
        Callable with:
          Argument #1
            a: TensorSpec(shape=(), dtype=tf.float32, name='a')
          Argument #2
            b: TensorSpec(shape=(), dtype=tf.float32, name='b')
  """.strip()  # pylint: enable=line-too-long
  
      saved_model_cli.flags.FLAGS.unparse_flags()
      saved_model_cli.flags.FLAGS(
          ["saved_model_cli", "show", "--dir", saved_model_dir, "--all"]
      )
      parser = saved_model_cli.create_parser()
      parser.parse_args()
      with captured_output() as (out, err):
          saved_model_cli.show()
      output = out.getvalue().strip()
      self.maxDiff = (
          None  # Produce a useful error msg if the comparison fails
      )
      self.assertMultiLineEqual(output, exp_out)
      self.assertEqual(err.getvalue().strip(), "")
  
imports: import contextlib
  import io
  import os
  import pickle
  import platform
  import shutil
  import sys
  from absl.testing import parameterized
  import numpy
  from tensorflow.core.example import example_pb2
  from tensorflow.core.framework import types_pb2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.python.debug.wrappers import local_cli_wrapper
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import parsing_config
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.saved_model import save
  from tensorflow.python.tools import saved_model_cli
  from tensorflow.python.trackable import autotrackable
label_desc: Use image node_id 4 for calling the SavedModelCLITestCase obj's underlying member method code with example usage: obj.testShowAllWithPureConcreteFunction(get_ops_mock) and returns: unknown