Module: tf.compat.v1.graph_util
Stay organized with collections
Save and categorize content based on your preferences.
Helpers to manipulate a tensor graph in python.
Functions
convert_variables_to_constants(...)
: Replaces all the variables in a graph with constants of the same values. (deprecated)
extract_sub_graph(...)
: Extract the subgraph that can reach any of the nodes in 'dest_nodes'. (deprecated)
import_graph_def(...)
: Imports the graph from graph_def
into the current default Graph
. (deprecated arguments)
must_run_on_cpu(...)
: Returns True if the given node_def must run on CPU, otherwise False. (deprecated)
remove_training_nodes(...)
: Prunes out nodes that aren't needed for inference. (deprecated)
tensor_shape_from_node_def_name(...)
: Convenience function to get a shape from a NodeDef's input string. (deprecated)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[]]