class_docstr: Tests SignalConv against scipy.signal.
class_docstr_tok: ["Tests","SignalConv","against","scipy.signal","."]
docstr: Test 3D same_zeros convolutions with different supports/strides.
code: def test_3d_same_zeros_spatial(self):
      """Test 3D same_zeros convolutions with different supports/strides."""
      batch = 1
      padding = "same_zeros"
      channels = 1
      filters = 1
      channel_separable = False
      activation = None
      use_bias = False
      for input_support in [(4, 5, 4), (5, 6, 3)]:
          for kernel_support in [(1, 2, 3), (2, 1, 2), (3, 3, 3)]:
              for corr in [False, True]:
                  for strides_down, strides_up, extra_pad_end in zip(
                      [(1, 1, 1), (1, 1, 1), (1, 1, 1), (3, 5, 4)],
                      [(1, 1, 1), (4, 3, 2), (2, 1, 3), (1, 1, 1)],
                      [True, False, True, True],
                  ):
                      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 20 for calling the ConvolutionsTest obj's underlying member method code with example usage: obj.test_3d_same_zeros_spatial() without return types