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

Function export_inference_graph

tools/exporter.py:311–392  ·  view source on GitHub ↗

Exports inference graph for the desired graph. Args: input_type: Type of input for the graph. Can be one of ['image_tensor', 'encoded_image_string_tensor', 'tf_example']. In this file, input_type must be 'image_tensor'. model: A model defined by model.py.

(input_type,
                           model,
                           trained_checkpoint_prefix,
                           output_directory,
                           input_shape=None,
                           use_moving_averages=None,
                           output_collection_name='inference_op',
                           additional_output_tensor_names=None,
                           graph_hook_fn=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

_build_model_graphFunction · 0.85
write_frozen_graphFunction · 0.85
write_saved_modelFunction · 0.85

Tested by

no test coverage detected