code: def _check_if_forward(blob):
      """
      Blobs with names containing '_m' or 'grad' are part of the backward pass.
  
          This function references facebookresearch/Detectron/detectron/utils/net.py.
  
      Args:
          blob: The blob to inspect
  
      Returns:
          Boolean representing whether this blob is part of the forward pass
      """
      #
      return blob.find("__m") < 0 or blob.find("grad") < 0
  
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 17 for calling a global function with example usage: _check_if_forward(blob) and returns: unknown