message: Fix invalid test in zero_padding_2d.
diff: @@ -645,14 +645,17 @@ class ZeroPaddingTest(keras_parameterized.TestCase):
  with self.assertRaises(ValueError):
  keras.layers.ZeroPadding1D(padding=None)
  - def test_zero_padding_2d(self):
  + @parameterized.named_parameters(('channels_first', 'channels_first'),
  + ('channels_last', 'channels_last'))
  + def test_zero_padding_2d(self, data_format):
  num_samples = 2
  stack_size = 2
  input_num_row = 4
  input_num_col = 5
  - for data_format in ['channels_first', 'channels_last']:
  - inputs = np.ones((num_samples, input_num_row, input_num_col, stack_size))
  + if data_format == 'channels_first':
  inputs = np.ones((num_samples, stack_size, input_num_row, input_num_col))
  + elif data_format == 'channels_last':
  + inputs = np.ones((num_samples, input_num_row, input_num_col, stack_size))
  # basic test
  with self.cached_session(use_gpu=True):
  