class_docstr: Checker with methods for validate data related options.
docstr: Should only called after `_validate_data`.
docstr_tok: ["Should","only","called","after","`","_validate_data","`","."]
code: def _get_all_transform(cls, opt):
      """Should only called after `_validate_data`."""
      all_transforms = set(opt.transforms)
      for cname, corpus in opt.data.items():
          _transforms = set(corpus["transforms"])
          if len(_transforms) != 0:
              all_transforms.update(_transforms)
      if hasattr(opt, "lambda_align") and opt.lambda_align > 0.0:
          if not all_transforms.isdisjoint(
              {"sentencepiece", "bpe", "onmt_tokenize"}
          ):
              raise ValueError(
                  "lambda_align is not compatible with"
                  " on-the-fly tokenization."
              )
          if not all_transforms.isdisjoint(
              {"tokendrop", "prefix", "bart"}
          ):
              raise ValueError(
                  "lambda_align is not compatible yet with"
                  " potentiel token deletion/addition."
              )
      opt._all_transform = all_transforms
  
imports: import configargparse
  import os
  import torch
  import onmt.opts
  from onmt.utils.logging import logger
  from onmt.constants import CorpusName, ModelTask
  from onmt.transforms import AVAILABLE_TRANSFORMS
label_desc: Use image node_id 4 for calling the DataOptsCheckerMixin obj's underlying member method code with example usage: obj._get_all_transform(cls, opt) without return types