class_docstr: CPDC, APDC can be converted to vanilla 3x3 convolution
  RPDC can be converted to vanilla 5x5 convolution
class_docstr_tok: ["CPDC",",","APDC","can","be","converted","to","vanilla","3x3","convolution","RPDC","can","be","converted","to","vanilla","5x5","convolution"]
code: def __init__(self, pdc, inplane, ouplane, stride=1):
      super(PDCBlock_converted, self).__init__()
      self.stride = stride
  
      if self.stride > 1:
          self.pool = nn.MaxPool2d(kernel_size=2, stride=2)
          self.shortcut = nn.Conv2d(
              inplane, ouplane, kernel_size=1, padding=0
          )
      if pdc == "rd":
          self.conv1 = nn.Conv2d(
              inplane,
              inplane,
              kernel_size=5,
              padding=2,
              groups=inplane,
              bias=False,
          )
      else:
          self.conv1 = nn.Conv2d(
              inplane,
              inplane,
              kernel_size=3,
              padding=1,
              groups=inplane,
              bias=False,
          )
      self.relu2 = nn.ReLU()
      self.conv2 = nn.Conv2d(
          inplane, ouplane, kernel_size=1, padding=0, bias=False
      )
  
imports: import os
  import math
  import torch
  import numpy
  import torch.nn
  import torch.nn.functional
  from typing import Optional
  from cftool.cv import to_uint8
  from ....parameters import OPT
label_desc: Use image node_id 1 to create a new PDCBlock_converted object from inherited base classes: nn with example: obj = PDCBlock_converted(pdc, inplane, ouplane, stride)