class_docstr: See :func:`deform_conv2d`.
class_docstr_tok: ["See",":","func",":","`","deform_conv2d","`","."]
code: def reset_parameters(self) -> None:
      init.kaiming_uniform_(self.weight, a=math.sqrt(5))
  
      if self.bias is not None:
          fan_in, _ = init._calculate_fan_in_and_fan_out(self.weight)
          bound = 1 / math.sqrt(fan_in)
          init.uniform_(self.bias, -bound, bound)
  
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 2 for calling the DeformConv2d obj's underlying member method code with example usage: obj.reset_parameters() without return types