code: def GenerateModelWithReadVariableOp(tf_saved_model_dir):
      """Generate a model with ReadVariableOp nodes."""
      my_model = MyModel()
      cfunc = my_model.__call__.get_concrete_function(
          tensor_spec.TensorSpec([None, 1, 1], dtypes.float32),
          tensor_spec.TensorSpec([None, 1, 1], dtypes.float32),
      )
      # pylint: disable=not-callable
      save(my_model, tf_saved_model_dir, signatures=cfunc)
  
file_path: tensorflow/tensorflow/python/compiler/tensorrt/test/testdata/gen_tf_readvariableop_model.py
imports: import numpy
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.module import module
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.saved_model import save
label_desc: Use image node_id 1 for calling a global function with example usage: GenerateModelWithReadVariableOp(tf_saved_model_dir) without return types