code: def __init__(
      self,
      in_channels,
      res_channels,
      dropout=0.25,
      use_bn=True,
      bn_track=True,
      use_spectral_norm=False,
  ):
      super(ResBlock, self).__init__()
      self.main = get_common_block(
          in_channels,
          dropout=dropout,
          use_bn=use_bn,
          bn_track=bn_track,
          use_spectral_norm=use_spectral_norm,
      )
      self.sc = nn.Linear(in_channels + res_channels, in_channels)
      if use_spectral_norm:
          self.sc = spectral_norm(self.sc)
  
file_path: insightface/body/human_pose/ambiguity_aware/lib/models/building_blocks.py
imports: import math
  import torch
  import torch.nn
  from torch.nn.utils import spectral_norm
label_desc: Use image node_id 1 to create a new ResBlock object from inherited base classes: nn with example: obj = ResBlock(in_channels, res_channels, dropout, use_bn, bn_track, use_spectral_norm)