def __init__(self, stride, pad, dilate=1, group=1) -> None:
        """Transposed_conv2d constructor.

        Parameters
        ----------
        stride : int
            Stride of the convolution
        pad : int
            Size of padding to add to the input
        dilate : int, optional
            Size of spacing between kernel elements, by default 1
        group : int, optional
            Number of input channels to process to compute one output channel, by default 1
        """
        super().__init__(stride, pad, dilate=dilate, group=group)
        self._attrs["op"] = "transposed_conv2d"
        self._attrs["epilogue"] = "LinearCombination"
        self.shape_eval_template = SHAPE_FUNC_TEMPLATE
Transposed_conv2d constructor.

        Parameters
        ----------
        stride : int
            Stride of the convolution
        pad : int
            Size of padding to add to the input
        dilate : int, optional
            Size of spacing between kernel elements, by default 1
        group : int, optional
            Number of input channels to process to compute one output channel, by default 1
        
python/aitemplate/compiler/ops/conv/transposed_conv2d.py