code: def test_bad_init_args(self):
      # `depth_multiplier` is not positive.
      with self.assertRaises(ValueError):
          layers.DepthwiseConv1D(depth_multiplier=0, kernel_size=1)
  
      # `kernel_size` has 0.
      with self.assertRaises(ValueError):
          layers.DepthwiseConv2D(depth_multiplier=2, kernel_size=(1, 0))
  
      # `strides` has 0.
      with self.assertRaises(ValueError):
          layers.DepthwiseConv2D(
              depth_multiplier=2, kernel_size=(2, 2), strides=(1, 0)
          )
  
      # `dilation_rate > 1` while `strides > 1`.
      with self.assertRaises(ValueError):
          layers.DepthwiseConv2D(
              depth_multiplier=2,
              kernel_size=(2, 2),
              strides=2,
              dilation_rate=(2, 1),
          )
  
file_path: keras/keras/layers/convolutional/depthwise_conv_test.py
imports: import numpy
  import pytest
  from absl.testing import parameterized
  from numpy.lib.stride_tricks import as_strided
  from keras import layers
  from keras import testing
label_desc: Use image node_id 3 for calling the DepthwiseConvBasicTest obj's underlying member method code with example usage: obj.test_bad_init_args() without return types