code: def _clear_debug_info(ops, perform_clear):
      """
      Remove debug information from operators, they are copious.
  
      Args:
          ops: List of Caffe2 operators
          perform_clear: Boolean passed from _operators_to_graph_def specifying
              whether to remove the debug information. This boolean is passed into
              this function to reduce the complexity of _operators_to_graph_def.
  
      Returns:
          None. Modifies the list of Caffe2 operators in-place and removes the
          'debug_info' field.
  
      """
      if not perform_clear:
          return
  
      for op in ops:
          if op.HasField("debug_info"):
              op.ClearField("debug_info")
  
imports: import copy
  import logging
  import os
  import re
  from tensorboard.compat.proto.graph_pb2 import GraphDef
  from tensorboard.compat.proto.node_def_pb2 import NodeDef
  from tensorboard.compat.proto.tensor_shape_pb2 import TensorShapeProto
  from caffe2.proto import caffe2_pb2
  from caffe2.python import core, workspace
  from typing import Set, Dict, Tuple, List
label_desc: Use image node_id 16 for calling a global function with example usage: _clear_debug_info(ops, perform_clear) without return types