original_docstring: Get configurations for deconv layers.
docstring: Get configurations for deconv layers.
docstring_tokens: Get configurations for deconv layers .
code: def _get_deconv_cfg(deconv_kernel):
          """Get configurations for deconv layers."""
          if deconv_kernel == 4:
              padding = 1
              output_padding = 0
          elif deconv_kernel == 3:
              padding = 1
              output_padding = 1
          elif deconv_kernel == 2:
              padding = 0
              output_padding = 0
          else:
              raise ValueError(f'Not supported num_kernels ({deconv_kernel}).')
  
          return deconv_kernel, padding, output_padding
code_tokens: def _get_deconv_cfg ( deconv_kernel ) : if deconv_kernel == 4 : padding = 1 output_padding = 0 elif deconv_kernel == 3 : padding = 1 output_padding = 1 elif deconv_kernel == 2 : padding = 0 output_padding = 0 else : raise ValueError ( f'Not supported num_kernels ({deconv_kernel}).' ) return deconv_kernel , padding , output_padding
short_docstring: Get configurations for deconv layers.
short_docstring_tokens: Get configurations for deconv layers .
comment: """Get configurations for deconv layers."""