MCPcopy Create free account
hub / github.com/PanJinquan/tensorflow_models_learning / write_saved_model

Function write_saved_model

tools/exporter.py:211–256  ·  view source on GitHub ↗

Writes SavedModel to disk. If checkpoint_path is not None bakes the weights into the graph thereby eliminating the need of checkpoint files during inference. If the model was trained with moving averages, setting use_moving_averages to True restores the moving averages, otherwise th

(saved_model_path,
                      frozen_graph_def,
                      inputs,
                      outputs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

export_inference_graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected