code: def test_defaults(self):
      b = pad.Pad(validate_args=True)
      y1 = b.forward([3.0, 4.0])
      y2 = b.forward([[1.0, 2.0], [3.0, 4.0]])
      x1 = b.inverse([3.0, 4.0, 0.0])
      x2 = b.inverse([[1.0, 2.0, 0.0], [3.0, 4.0, 0]])
      fldj = b.forward_log_det_jacobian([43.0], event_ndims=1)
      ildj = b.inverse_log_det_jacobian([45.0, 0.0], event_ndims=1)
      [y1_, y2_, x1_, x2_, fldj_, ildj_] = self.evaluate(
          [y1, y2, x1, x2, fldj, ildj]
      )
      self.assertAllEqual([3.0, 4.0, 0.0], y1_)
      self.assertAllEqual([[1.0, 2.0, 0.0], [3.0, 4.0, 0.0]], y2_)
      self.assertAllEqual([3.0, 4.0], x1_)
      self.assertAllEqual([[1.0, 2.0], [3.0, 4.0]], x2_)
      self.assertAllEqual(0.0, fldj_)
      self.assertAllEqual(0.0, ildj_)
  
file_path: probability/tensorflow_probability/python/bijectors/pad_test.py
imports: import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import pad
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the PadBijectorTest obj's underlying member method code with example usage: obj.test_defaults() without return types