aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/g3doc/api_docs/python/constant_op.md
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-08-03 09:51:15 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-03 11:01:34 -0700
commit7788dfd7a544cda6dd1b2826c7c575f6bb77abc8 (patch)
treea68a925412b9b35a69024a4a4a3a525b20a6a9cc /tensorflow/g3doc/api_docs/python/constant_op.md
parentf22b14fd4d435e0ced92824abe17b768ff868e6e (diff)
Update generated Python Op docs.
Change: 129232232
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/constant_op.md')
-rw-r--r--tensorflow/g3doc/api_docs/python/constant_op.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/tensorflow/g3doc/api_docs/python/constant_op.md b/tensorflow/g3doc/api_docs/python/constant_op.md
index d5803f925b..50bcac8506 100644
--- a/tensorflow/g3doc/api_docs/python/constant_op.md
+++ b/tensorflow/g3doc/api_docs/python/constant_op.md
@@ -684,3 +684,38 @@ with tf.Session() as sess2:
* <b>`seed`</b>: integer.
+
+## Other Functions and Classes
+- - -
+
+### `tf.contrib.graph_editor.ops(*args, **kwargs)` {#ops}
+
+Helper to select operations.
+
+##### Args:
+
+
+* <b>`*args`</b>: list of 1) regular expressions (compiled or not) or 2) (array of)
+ tf.Operation. tf.Tensor instances are silently ignored.
+* <b>`**kwargs`</b>: 'graph': tf.Graph in which to perform the regex query.This is
+ required when using regex.
+ 'positive_filter': an elem if selected only if positive_filter(elem) is
+ True. This is optional.
+ 'restrict_ops_regex': a regular expression is ignored if it doesn't start
+ with the substring "(?#ops)".
+
+##### Returns:
+
+ list of tf.Operation
+
+##### Raises:
+
+
+* <b>`TypeError`</b>: if the optional keyword argument graph is not a tf.Graph
+ or if an argument in args is not an (array of) tf.Operation
+ or an (array of) tf.Tensor (silently ignored) or a string
+ or a regular expression.
+* <b>`ValueError`</b>: if one of the keyword arguments is unexpected or if a regular
+ expression is used without passing a graph as a keyword argument.
+
+