code: def forward(
      self, x, res_feat=None, return_logits=True, return_feat=True
  ):
      if res_feat is not None:
          assert self.with_conv_res
          res_feat = self.conv_res(res_feat)
          x = x + res_feat
      for conv in self.convs:
          x = conv(x)
      res_feat = x
      outs = []
      if return_logits:
          x = self.upsample(x)
          if self.upsample_method == "deconv":
              x = self.relu(x)
          mask_pred = self.conv_logits(x)
          outs.append(mask_pred)
      if return_feat:
          outs.append(res_feat)
      return outs if len(outs) > 1 else outs[0]
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/mask_heads/htc_mask_head.py
imports: from mmcv.cnn import ConvModule
  from mmdet.models.builder import HEADS
  from .fcn_mask_head import FCNMaskHead
label_desc: Use image node_id 3 for calling the HTCMaskHead obj's underlying member method code with example usage: obj.forward(x, res_feat, return_logits, return_feat) and returns: unknown