Reputation: 2742
I want to deploy trained models for inference and need to convert tf.Variable
into tf.constant
, and strip any unused graph nodes.
What's the difference between these two toolsets? They look like they serve the same purpose. Which one should I rely on?
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/graph_transforms
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/python/tools
Upvotes: 1
Views: 2189
Reputation: 2878
The Graph Transform Tool is a more modern replacement for the older Python scripts.
Upvotes: 3