From f4e03226b6eee1e8576a7758d6bf640c3c18a9ec Mon Sep 17 00:00:00 2001 From: Edward Loper <edloper@google.com> Date: Thu, 11 Jul 2019 06:18:20 -0700 Subject: [PATCH] Typo fix in tf.where() docstring. PiperOrigin-RevId: 257595324 --- tensorflow/python/ops/array_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/python/ops/array_ops.py b/tensorflow/python/ops/array_ops.py index 041ae2d8526..0a65d19c014 100644 --- a/tensorflow/python/ops/array_ops.py +++ b/tensorflow/python/ops/array_ops.py @@ -3588,7 +3588,7 @@ def where(condition, x=None, y=None, name=None): If both non-None, `x` and `y` must have the same shape. The `condition` tensor must be a scalar if `x` and `y` are scalar. - If `x` and `y` are vectors of higher rank, then `condition` must be either a + If `x` and `y` are tensors of higher rank, then `condition` must be either a vector with size matching the first dimension of `x`, or must have the same shape as `x`.