class_docstr: Base class from which all rewriters should inherit.
class_docstr_tok: ["Base","class","from","which","all","rewriters","should","inherit","."]
docstr: Perform post-rewrite validation.
  
  Args:
    rewritten_model: A `ModelDescription` object describing the location and
      type of the rewritten output.
  
  Raises:
    ValueError: If the rewritten model is not valid.
docstr_tok: ["Perform","post-rewrite","validation",".","Args",":","rewritten_model",":","A","`","ModelDescription","`","object","describing","the","location","and","type","of","the","rewritten","output",".","Raises",":","ValueError",":","If","the","rewritten","model","is","not","valid","."]
code: def _post_rewrite_validate(self, rewritten_model: ModelDescription):
      """Perform post-rewrite validation.
  
      Args:
        rewritten_model: A `ModelDescription` object describing the location and
          type of the rewritten output.
  
      Raises:
        ValueError: If the rewritten model is not valid.
      """
      pass
  
file_path: tfx/tfx/components/trainer/rewriting/rewriter.py
imports: import abc
  import collections
  import enum
label_desc: Use image node_id 4 for calling the BaseRewriter obj's underlying member method code with example usage: obj._post_rewrite_validate(rewritten_model) without return types