docstr: Sharing is working.
docstr_tok: ["Sharing","is","working","."]
code: def testSharing(self, with_bias):
      """Sharing is working."""
      conv1 = depthwise_conv.DepthwiseConv2D(
          channel_multiplier=3,
          kernel_shape=3,
          stride=1,
          padding="SAME",
          with_bias=with_bias,
      )
  
      x = np.random.randn(1, 5, 5, 1)
      x1 = tf.constant(x, dtype=np.float32)
      x2 = tf.constant(x, dtype=np.float32)
  
      self.assertAllClose(conv1(x1), conv1(x2))
  
      # Kernel shape was set to 3, which is expandeded to [3, 3, 3].
      # Input channels are 1, output channels := in_channels * multiplier.
      # multiplier is kernel_shape[2] == 3. So weight layout must be:
      # (3, 3, 1, 3).
      w = np.random.randn(3, 3, 1, 3)  # Now change the weights.
      conv1.w.assign(w)
      self.assertAllClose(conv1(x1), conv1(x2))
  
imports: from absl.testing import parameterized
  import numpy
  from sonnet.src import depthwise_conv
  from sonnet.src import initializers
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 11 for calling the DepthwiseConvTest obj's underlying member method code with example usage: obj.testSharing(with_bias) without return types