class_docstr: Spatial depth-wise 2D convolution module, including bias.
  
  This acts as a light wrapper around the TensorFlow ops
  `tf.nn.depthwise_conv2d`, abstracting away variable creation and sharing.
code: def __call__(self, inputs: tf.Tensor) -> tf.Tensor:
      self._initialize(inputs)
  
      outputs = tf.nn.depthwise_conv2d(
          inputs,
          self.w,
          strides=self.stride,
          dilations=self.rate,
          padding=self.padding,
          data_format=self.data_format,
      )
      if self.with_bias:
          outputs = tf.nn.bias_add(
              outputs, self.b, data_format=self.data_format
          )
  
      return outputs
  
file_path: sonnet/sonnet/src/depthwise_conv.py
imports: from typing import Optional, Sequence, Union
  import numpy
  from sonnet.src import base
  from sonnet.src import initializers
  from sonnet.src import once
  from sonnet.src import utils
  import tensorflow
label_desc: Use image node_id 2 for calling the DepthwiseConv2D obj's underlying member method code with example usage: obj.__call__(inputs) and returns: outputs