code: def prefix_shared_name_attributes(meta_graph, absolute_import_scope):
      """In-place prefixes shared_name attributes of nodes."""
      shared_name_attr = "shared_name"
      for node in meta_graph.graph_def.node:
          shared_name_value = node.attr.get(shared_name_attr, None)
          if shared_name_value and shared_name_value.HasField("s"):
              if shared_name_value.s:
                  node.attr[shared_name_attr].s = tf.compat.as_bytes(
                      prepend_name_scope(
                          shared_name_value.s,
                          import_scope=absolute_import_scope,
                      )
                  )
  
file_path: hub/tensorflow_hub/meta_graph_lib.py
imports: import re
  from absl import logging
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: prefix_shared_name_attributes(meta_graph, absolute_import_scope) without return types