class_docstr: Tests SignalConv against scipy.signal.
class_docstr_tok: ["Tests","SignalConv","against","scipy.signal","."]
docstr: Test 2D same convolutions with different padding modes.
code: def test_2d_same_padding(self):
      """Test 2D same convolutions with different padding modes."""
      batch = 1
      channels = 1
      filters = 1
      input_support = (4, 5)
      kernel_support = (3, 2)
      corr = True
      strides_up = (1, 1)
      strides_down = (1, 1)
      extra_pad_end = True
      channel_separable = False
      activation = None
      use_bias = False
      for padding in ["same_reflect"]:
          for data_format in self.data_formats:
              self.run_or_fail(
                  self.run_same,
                  batch,
                  input_support,
                  channels,
                  filters,
                  kernel_support,
                  corr,
                  strides_down,
                  strides_up,
                  padding,
                  extra_pad_end,
                  channel_separable,
                  data_format,
                  activation,
                  use_bias,
              )
  
imports: import os
  from absl.testing import parameterized
  import numpy
  import scipy.signal
  import tensorflow
  from tensorflow_compression.python.layers import initializers
  from tensorflow_compression.python.layers import parameters
  from tensorflow_compression.python.layers import signal_conv
label_desc: Use image node_id 16 for calling the ConvolutionsTest obj's underlying member method code with example usage: obj.test_2d_same_padding() without return types