class_docstr: Pipeline built by a list of Transform instance.
class_docstr_tok: ["Pipeline","built","by","a","list","of","Transform","instance","."]
docstr: Return all specials introduced by `transforms`.
docstr_tok: ["Return","all","specials","introduced","by","`","transforms","`","."]
code: def get_specials(cls, opts, transforms):
      """Return all specials introduced by `transforms`."""
      src_specials, tgt_specials = [], []
      for transform in transforms:
          _src_special, _tgt_special = transform.get_specials(
              transform.opts
          )
          for _src_spec in _src_special:
              src_specials.append(_src_spec)
          for _tgt_spec in _tgt_special:
              tgt_specials.append(_tgt_spec)
      return (src_specials, tgt_specials)
  
imports: import torch
  from onmt.utils.logging import logger
  from onmt.utils.misc import check_path
label_desc: Use image node_id 4 for calling the TransformPipe obj's underlying member method code with example usage: obj.get_specials(cls, opts, transforms) and returns: src_specials,  tgt_specials