code: def _get_conv_padding(xdim, filter_dim, stride, dilation, padding):
      """Returns the number of zeros to pad at the start and end of an axis."""
      if padding == "VALID":
          return (0, 0)
      elif padding == "SAME":
          tot_k = dilation * (filter_dim - 1) + 1
          tot_pad = tf.maximum(tot_k - ((xdim - 1) % stride + 1), 0)
          pad_start = tot_pad // 2
          return pad_start, tot_pad - pad_start
  
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.experimental.nn.util import utils
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
label_desc: Use image node_id 6 for calling a global function with example usage: _get_conv_padding(xdim, filter_dim, stride, dilation, padding) and returns: int,  int, pad_start,  unknown