code: def _forward(self):
      body_feats = self.backbone(self.inputs)
      neck_feats = self.neck(body_feats, self.for_mot)
  
      if self.training:
          yolo_losses = self.head(neck_feats, self.inputs)
          return yolo_losses
      else:
          yolo_head_outs = self.head(neck_feats)
          bbox, bbox_num = self.head.post_process(
              yolo_head_outs,
              self.inputs["im_shape"],
              self.inputs["scale_factor"],
          )
          output = {"bbox": bbox, "bbox_num": bbox_num}
          return output
  
file_path: PaddleDetection/ppdet/modeling/architectures/yolof.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from ppdet.core.workspace import register, create
  from .meta_arch import BaseArch
label_desc: Use image node_id 3 for calling the YOLOF obj's underlying member method code with example usage: obj._forward() and returns: yolo_losses, output