class_docstr: Simplified version of original basic residual block. This is used in
  `SCNet <https://arxiv.org/abs/2012.10150>`_.
  
  - Norm layer is now optional
  - Last ReLU in forward function is removed
class_docstr_tok: ["Simplified","version","of","original","basic","residual","block",".","This","is","used","in","`","SCNet","<","https",":","\/\/arxiv.org\/abs\/2012.10150",">","`","_",".","-","Norm","layer","is","now","optional","-","Last","ReLU","in","forward","function","is","removed"]
docstr: Forward function for SimplifiedBasicBlock.
docstr_tok: ["Forward","function","for","SimplifiedBasicBlock","."]
code: def forward(self, x: Tensor) -> Tensor:
      """Forward function for SimplifiedBasicBlock."""
  
      identity = x
  
      out = self.conv1(x)
      if self.with_norm:
          out = self.norm1(out)
      out = self.relu(out)
  
      out = self.conv2(out)
      if self.with_norm:
          out = self.norm2(out)
  
      if self.downsample is not None:
          identity = self.downsample(x)
  
      out += identity
  
      return out
  
file_path: mmdetection/mmdet/models/layers/res_layer.py
imports: from typing import Optional
  from mmcv.cnn import build_conv_layer, build_norm_layer
  from mmengine.model import BaseModule, Sequential
  from torch import Tensor
  from torch import nn
  from mmdet.utils import ConfigType, OptConfigType, OptMultiConfig
label_desc: Use image node_id 4 for calling the SimplifiedBasicBlock obj's underlying member method code with example usage: obj.forward(x) and returns: out