code: def __init__(self, *args, **kwargs):
      super(DeformConvPack, self).__init__(*args, **kwargs)
  
      self.conv_offset = nn.Conv2d(
          self.in_channels,
          self.deformable_groups
          * 2
          * self.kernel_size[0]
          * self.kernel_size[1],
          kernel_size=self.kernel_size,
          stride=_pair(self.stride),
          padding=_pair(self.padding),
          bias=True,
      )
      self.init_offset()
  
imports: import math
  import torch
  import torch.nn
  from torch.nn.modules.utils import _pair
  from ..functions.deform_conv import deform_conv, modulated_deform_conv
label_desc: Use image node_id 1 to create a new DeformConvPack object from inherited base classes: DeformConv with example: obj = DeformConvPack()