tfx.components.trainer.rewriting.converters.rewrite_saved_model

Rewrites the provided SavedModel.

src location of the saved_model to rewrite.
dst location of the rewritten saved_model.
rewriter_inst the rewriter instance to invoke. Must inherit from rewriter.BaseRewriter.
dst_model_type the rewriter.ModelType of the destination model.