class_docstr: See :func:`deform_conv2d`.
class_docstr_tok: ["See",":","func",":","`","deform_conv2d","`","."]
code: def __repr__(self) -> str:
      s = (
          f"{self.__class__.__name__}("
          f"{self.in_channels}"
          f", {self.out_channels}"
          f", kernel_size={self.kernel_size}"
          f", stride={self.stride}"
      )
      s += f", padding={self.padding}" if self.padding != (0, 0) else ""
      s += (
          f", dilation={self.dilation}"
          if self.dilation != (1, 1)
          else ""
      )
      s += f", groups={self.groups}" if self.groups != 1 else ""
      s += ", bias=False" if self.bias is None else ""
      s += ")"
  
      return s
  
file_path: vision/torchvision/ops/deform_conv.py
imports: import math
  from typing import Optional, Tuple
  import torch
  from torch import nn, Tensor
  from torch.nn import init
  from torch.nn.modules.utils import _pair
  from torch.nn.parameter import Parameter
  from torchvision.extension import _assert_has_ops
  from ..utils import _log_api_usage_once
label_desc: Use image node_id 4 for calling the DeformConv2d obj's underlying member method code with example usage: obj.__repr__() and returns: s