code: def runMaskingOpsTest(
      self,
      masking_inputs,
      expected_masked_positions,
      description,
      expected_input_ids=None,
      expected_masked_ids=None,
      axis=1,
      item_selector=None,
      values_chooser=None,
  ):
      masking_inputs = ragged_factory_ops.constant(masking_inputs)
  
      # Lookup int IDs
      table = _create_table(_VOCAB)
      self.evaluate(table.initializer)
  
      # Transform human-readable string wordpieces into int ids, which is what
      # will actually be tested.
      masking_inputs = ragged_functional_ops.map_flat_values(
          table.lookup, masking_inputs
      )
  
      (
          actual_input_ids,
          actual_masked_positions,
          actual_masked_ids,
      ) = masking_ops.mask_language_model(
          masking_inputs,
          axis=axis,
          item_selector=item_selector,
          mask_values_chooser=values_chooser,
      )
  
      self.assertAllEqual(
          actual_masked_positions, expected_masked_positions
      )
      # Decode back into human readable wordpieces for comparison
      actual_masked_ids_flat = array_ops.gather(
          _VOCAB, actual_masked_ids.flat_values
      )
      actual_masked_ids = actual_masked_ids.with_flat_values(
          actual_masked_ids_flat
      )
  
      self.assertAllEqual(actual_masked_ids, expected_masked_ids)
      actual_input_ids_flat = array_ops.gather(
          _VOCAB, actual_input_ids.flat_values
      )
      actual_input_ids = actual_input_ids.with_flat_values(
          actual_input_ids_flat
      )
      self.assertAllEqual(actual_input_ids, expected_input_ids)
  
imports: from absl.testing import parameterized
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import lookup_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_functional_ops
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import item_selector_ops
  from tensorflow_text.python.ops import masking_ops
label_desc: Use image node_id 4 for calling the MaskingOpsTest obj's underlying member method code with example usage: obj.runMaskingOpsTest(masking_inputs, expected_masked_positions, description, expected_input_ids, expected_masked_ids, axis, item_selector, values_chooser) without return types