code: def restore_saved_model(export_dir):
      signature_key = (
          tf1.saved_model.signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY
      )
      g = tf1.Graph()
      with g.as_default():
          with tf1.Session(graph=g) as sess:
              meta_graph_def = tf1.saved_model.load(
                  sess,
                  [tf1.saved_model.tag_constants.SERVING],
                  export_dir,
              )
              print("Model restored!")
              print("Signature Def Information:")
              print(meta_graph_def.signature_def[signature_key])
              print(
                  "You can inspect the model using TensorFlow SavedModel CLI."
              )
              print("https://www.tensorflow.org/guide/saved_model")
  
file_path: ray/rllib/examples/export/cartpole_dqn_export.py
imports: import numpy
  import os
  import ray
  from ray.rllib.policy.policy import Policy
  from ray.rllib.utils.framework import try_import_tf
  from ray.tune.registry import get_trainable_cls
label_desc: Use image node_id 2 for calling a global function with example usage: restore_saved_model(export_dir) without return types