code: def _find_op(
      graph: ops.Graph, op_name: Optional[str]
  ) -> Optional[ops.Operation]:
      """Finds the operation with `op_name`.
  
      Args:
        graph: The graph to find from.
        op_name: Name of the node.
  
      Returns:
        The operation that corresponds to `op_name`. Returns None iff op_name is an
        empty string or None.
  
      Raises:
        ValueError: `op_name` is malformed.
      """
      if not op_name:
          return None
  
      init_op = graph.get_operation_by_name(op_name)
      logging.debug("Op found in the graph: %s", op_name)
  
      return init_op
  
imports: from typing import Collection, Dict, Mapping, Optional, Sequence
  from absl import logging
  from google.protobuf.any_pb2 import Any
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.core.protobuf import saver_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import importer
  from tensorflow.python.framework import ops
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.saved_model import builder
  from tensorflow.python.saved_model import constants
  from tensorflow.python.saved_model import loader_impl
  from tensorflow.python.saved_model import tag_constants
  from tensorflow.python.training import saver
label_desc: Use image node_id 5 for calling a global function with example usage: _find_op(graph, op_name) and returns: init_op, None