class_docstr: This masks out tokens according to the given tokenizer.
  
  The masked variables are
  
  output_type : "string" (default) or "token_ids"
docstr: The shape of the masks we expect.
          
code: def mask_shapes(self, s):
      """The shape of the masks we expect."""
      self._update_s_cache(s)
      return [(len(self._tokenized_s),)]
  
imports: import math
  import re
  import numpy
  from .._serializable import Deserializer, Serializer
  from ..utils import safe_isinstance
  from ..utils.transformers import SENTENCEPIECE_TOKENIZERS, getattr_silent, parse_prefix_suffix_for_tokenizer
  from ._masker import Masker
label_desc: Use image node_id 8 for calling the Text obj's underlying member method code with example usage: obj.mask_shapes(s) and returns: list