message: Using a parameterized test
diff: @@ -723,14 +723,16 @@ class ZeroPaddingTest(keras_parameterized.TestCase):
  with self.assertRaises(ValueError):
  keras.layers.ZeroPadding2D(padding=None)
  - def test_zero_padding_3d(self):
  + @parameterized.named_parameters(
  + ('channels_first', 'channels_last'),
  + )
  + def test_zero_padding_3d(self, data_format):
  num_samples = 2
  stack_size = 2
  input_len_dim1 = 4
  input_len_dim2 = 5
  input_len_dim3 = 3
  - for data_format in ['channels_first', 'channels_last']:
  if data_format == 'channels_first':
  inputs = np.ones((num_samples, stack_size, input_len_dim1,
  input_len_dim2, input_len_dim3))
  