RSVP for your your local TensorFlow Everywhere event today!

tfx.components.trainer.rewriting.tfjs_rewriter.TFJSRewriter

Performs TFJS conversion.

Inherits From: BaseRewriter

name The name to use when identifying the rewriter.

name The user-specified name of the rewriter.

Methods

perform_rewrite

View source

Invoke all validations and perform the rewrite.

Args
original_model A base_rewriter.ModelDescription object describing the original model.
rewritten_model A base_rewriter.ModelDescription object describing the location and type of the rewritten model.

Raises
ValueError if the model was not successfully rewritten.