code: def transpose(self, name=None):
      
      if name is None:
        name = self.module_name + "_transpose"
  
      if self._data_format == DATA_FORMAT_NHWC:
        stride = self._stride[1:-1]
      else:  # self._data_format == DATA_FORMAT_NCHW
        stride = self._stride[2:]
  
      return Conv2D(output_channels=lambda: self.input_channels,
                    kernel_shape=self._kernel_shape,
                    stride=stride,
                    padding=self._padding,
                    use_bias=self._use_bias,
                    initializers=self._initializers,
                    partitioners=self._partitioners,
                    regularizers=self._regularizers,
                    data_format=self._data_format,
                    custom_getter=self._custom_getter,
                    name=name)
docs: Returns matching `Conv2D` module.
  
      Args:
        name: Optional string assigning name of transpose module. The default name
            is constructed by appending "_transpose" to `self.name`.
  
      Returns:
        `Conv2D` module.