code: def __init__(self, in_channels, out_channels, with_r=False, **kwargs):
      super().__init__()
      self.addcoords = AddCoords(with_r=with_r)
      in_size = in_channels + 2
      if with_r:
          in_size += 1
      self.conv = nn.Conv2d(in_size, out_channels, **kwargs)
  
file_path: pytorch-toolbelt/pytorch_toolbelt/modules/coord_conv.py
imports: import torch
  import torch.nn
label_desc: Use image node_id 1 to create a new CoordConv object from inherited base classes: nn with example: obj = CoordConv(in_channels, out_channels, with_r)