diff options
author | 2016-01-08 16:00:35 -0800 | |
---|---|---|
committer | 2016-01-08 16:00:35 -0800 | |
commit | 67eb676b1044dd6fa883b45bc163366ecd3ce646 (patch) | |
tree | 6b792f6015066f4c23c4e9955353853cef630285 | |
parent | 771a92208fa2301ca1d54ec53b8bfc7d227e3d66 (diff) |
Fixed doc string for switch()
Change: 111724690
-rw-r--r-- | tensorflow/python/ops/control_flow_ops.py | 2 |
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: |