class_docstr: Unit test for InitPaddingMask.
class_docstr_tok: ["Unit","test","for","InitPaddingMask","."]
docstr: Testing whether padding mask is currently initialized.
docstr_tok: ["Testing","whether","padding","mask","is","currently","initialized","."]
code: def test_padding_mask(self, n, h, w):
      """Testing whether padding mask is currently initialized."""
      features = fake_decoded_features(n, h, w)
  
      expected = copy.deepcopy(features)
      expected["padding_mask"] = tf.ones((h, w), dtype=tf.float32)
  
      features_with_padding_mask = transforms.InitPaddingMask()(
          features
      )
  
      self._assert_features_equal(
          features_with_padding_mask, expected, msg="Test padding mask"
      )
  
imports: import copy
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from scenic.projects.baselines.detr import transforms
  import tensorflow
label_desc: Use image node_id 1 for calling the InitPaddingMaskTest obj's underlying member method code with example usage: obj.test_padding_mask(n, h, w) without return types