Typo fix in tf.where() docstring.
PiperOrigin-RevId: 257595324
This commit is contained in:
parent
b2b1c7181f
commit
f4e03226b6
@ -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.
|
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.
|
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
|
vector with size matching the first dimension of `x`, or must have the same
|
||||||
shape as `x`.
|
shape as `x`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user