MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / strip_unused

Function strip_unused

tensorflow/python/tools/strip_unused_lib.py:32–87  ·  view source on GitHub ↗

Removes unused nodes from a GraphDef. Args: input_graph_def: A graph with nodes we want to prune. input_node_names: A list of the nodes we use as inputs. output_node_names: A list of the output nodes. placeholder_type_enum: The AttrValue enum for the placeholder data type, or

(input_graph_def, input_node_names, output_node_names,
                 placeholder_type_enum)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

strip_unused_from_filesFunction · 0.85

Calls 4

extendMethod · 0.80
removeMethod · 0.45
indexMethod · 0.45
CopyFromMethod · 0.45

Tested by

no test coverage detected