August 2019
Intermediate to advanced
202 pages
5h 9m
English
After training, it can be extremely useful to save the model for later use. Decoupling the training and inference pipelines is a good idea in many use cases. From a developer's perspective, a model can be abstracted out as a black box that accepts a set of inputs and returns some outputs. Saving a model, then, is nothing but exporting an artifact that represents this black box. Restoring or loading models then becomes the process of using this black box to perform some real work. This can also be understood as the process of serializing and deserializing the model black box.
TF 2.0 supports saving and restoring a model in multiple modes:
Read now
Unlock full access