TensorFlow Data Versioning: GraphDefs and Checkpoints

TensorFlow Data Versioning: GraphDefs and Checkpoints

As described in Compatibility for Graphs and Checkpoints, TensorFlow marks each kind of data with version information in order to maintain backward compatibility. This document provides additional details about the versioning mechanism, and how to use it to safely change data formats.

Backward and partial forward compatibility

The two core artifacts exported from and imported into TensorFlow are checkpoints (serialized variable states) and GraphDefs (serialized computation graphs). Any approach to versioning these artifacts must take into account the following requirements: