code: def _copy_test_attributes_to_func_def(self, func_def):
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_convert_function",
          attr_value_type="b",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_trt_logger_name",
          attr_value_type="s",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_max_batch_size",
          attr_value_type="i",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_max_workspace_size_bytes",
          attr_value_type="i",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_precision_mode",
          attr_value_type="s",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_minimum_segment_size",
          attr_value_type="i",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_is_dyn_op",
          attr_value_type="b",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_max_cached_engines",
          attr_value_type="i",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_use_calibration",
          attr_value_type="b",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_use_implicit_batch",
          attr_value_type="b",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_profile_strategy",
          attr_value_type="s",
      )
      self._copy_test_attr_to_func_def(
          func_def=func_def,
          param_name="_tftrt_allow_build_at_runtime",
          attr_value_type="b",
      )
  
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 10 for calling the TfFunctionTest obj's underlying member method code with example usage: obj._copy_test_attributes_to_func_def(func_def) without return types