code: def _VerifyTestAttrs(self, function_protos):
      if self._test_conversion_params["_tftrt_convert_function"]:
          for func_def in function_protos:
              if not func_def.signature.name.startswith("TRTEngine"):
                  for (
                      key,
                      value,
                  ) in self._test_conversion_params.items():
                      self.assertIn(
                          key,
                          func_def.attr,
                          "key %s not found in func_def.attr" % key,
                      )
                      if isinstance(value, str):
                          self.assertEqual(
                              func_def.attr[key].s,
                              compat.as_bytes(value),
                          )
                      elif isinstance(value, bool):
                          self.assertEqual(func_def.attr[key].b, value)
                      elif isinstance(value, int):
                          self.assertEqual(func_def.attr[key].i, value)
  
imports: import itertools
  import os
  from tensorflow.core.framework import attr_value_pb2
  from tensorflow.core.protobuf import saved_model_pb2
  from tensorflow.python.compiler.tensorrt import trt_convert
  from tensorflow.python.compiler.tensorrt.test import tf_trt_integration_test_base
  from tensorflow.python.compiler.tensorrt.test.tf_trt_integration_test_base import GraphState
  from tensorflow.python.compiler.tensorrt.test.tf_trt_integration_test_base import IsQuantizationWithCalibration
  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 array_ops
  from tensorflow.python.ops import nn
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.saved_model import constants
  from tensorflow.python.saved_model import loader_impl
  from tensorflow.python.util import compat
label_desc: Use image node_id 5 for calling the TfFunctionTest obj's underlying member method code with example usage: obj._VerifyTestAttrs(function_protos) without return types