aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.all_variables.md
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.all_variables.md')
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.all_variables.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.all_variables.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.all_variables.md
new file mode 100644
index 0000000000..904b99f321
--- /dev/null
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.all_variables.md
@@ -0,0 +1,12 @@
+### `tf.all_variables()` {#all_variables}
+
+Returns all variables that must be saved/restored.
+
+The `Variable()` constructor automatically adds new variables to the graph
+collection `GraphKeys.VARIABLES`. This convenience function returns the
+contents of that collection.
+
+##### Returns:
+
+ A list of `Variable` objects.
+