class_docstr: Factory class for rewriters.
code: def _maybe_load_public_rewriter(cls, lower_rewriter_type: str):
      if (
          lower_rewriter_type in cls._LOADERS
          and lower_rewriter_type not in cls._loaded
      ):
          cls._LOADERS[lower_rewriter_type]()
          cls._loaded.add(lower_rewriter_type)
  
file_path: tfx/tfx/components/trainer/rewriting/rewriter_factory.py
imports: import importlib
  from tfx.components.trainer.rewriting import rewriter
label_desc: Use image node_id 1 for calling the _RewriterFactory obj's underlying member method code with example usage: obj._maybe_load_public_rewriter(cls, lower_rewriter_type) without return types