code: def __init__(
      self,
      spatial_scale,
      out_size,
      out_channels,
      no_trans,
      group_size=1,
      part_size=None,
      sample_per_part=4,
      trans_std=0.0,
  ):
      super(DeformRoIPooling, self).__init__()
      self.spatial_scale = spatial_scale
      self.out_size = out_size
      self.out_channels = out_channels
      self.no_trans = no_trans
      self.group_size = group_size
      self.part_size = out_size if part_size is None else part_size
      self.sample_per_part = sample_per_part
      self.trans_std = trans_std
  
file_path: EasyOCR/easyocr/DBNet/assets/ops/dcn/modules/deform_pool.py
imports: from torch import nn
  from ..functions.deform_pool import deform_roi_pooling
label_desc: Use image node_id 1 to create a new DeformRoIPooling object from inherited base classes: nn with example: obj = DeformRoIPooling(spatial_scale, out_size, out_channels, no_trans, group_size, part_size, sample_per_part, trans_std)