aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <nobody@tensorflow.org>2016-01-08 16:00:35 -0800
committerGravatar Vijay Vasudevan <vrv@google.com>2016-01-08 16:00:35 -0800
commit67eb676b1044dd6fa883b45bc163366ecd3ce646 (patch)
tree6b792f6015066f4c23c4e9955353853cef630285
parent771a92208fa2301ca1d54ec53b8bfc7d227e3d66 (diff)
Fixed doc string for switch()
Change: 111724690
-rw-r--r--tensorflow/python/ops/control_flow_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/ops/control_flow_ops.py b/tensorflow/python/ops/control_flow_ops.py
index f3d17aa12d..eca8ba7e09 100644
--- a/tensorflow/python/ops/control_flow_ops.py
+++ b/tensorflow/python/ops/control_flow_ops.py
@@ -167,7 +167,7 @@ def switch(data, pred, dtype=None, name=None):
name: A name for this operation (optional).
Returns:
- `(output_true, output_false)`: If `pred` is true, data will be forwarded to
+ `(output_false, output_true)`: If `pred` is true, data will be forwarded to
`output_true`, otherwise it goes to `output_false`.
"""
with ops.op_scope([data, pred], name, "Switch") as name: