aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/framework/ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/framework/ops.py')
-rw-r--r--tensorflow/python/framework/ops.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tensorflow/python/framework/ops.py b/tensorflow/python/framework/ops.py
index 05972022d0..0b04904ec2 100644
--- a/tensorflow/python/framework/ops.py
+++ b/tensorflow/python/framework/ops.py
@@ -2705,11 +2705,11 @@ class Graph(object):
Args:
name: The key for the collection. For example, the `GraphKeys` class
contains many standard names for collections.
- scope: (Optional.) If supplied, the resulting list is filtered to include
- only items whose `name` attribute matches using `re.match`. Items
- without a `name` attribute are never returned if a scope is supplied and
- the choice or `re.match` means that a `scope` without special tokens
- filters by prefix.
+ scope: (Optional.) A string. If supplied, the resulting list is filtered
+ to include only items whose `name` attribute matches `scope` using
+ `re.match`. Items without a `name` attribute are never returned if a
+ scope is supplied. The choice of `re.match` means that a `scope` without
+ special tokens filters by prefix.
Returns:
The list of values in the collection with the given `name`, or