aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-02-05 14:38:07 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-02-05 14:41:59 -0800
commitd53202bc9498a9045747282530380f92b4d66a00 (patch)
treecf459cbd51ba55e4dabd6c41f58e855e7c4b05e3
parent473bc3580510e2da299662da200791cf4a9fb086 (diff)
[XLA] Fix documentation for Clamp.
PiperOrigin-RevId: 184588630
-rw-r--r--tensorflow/docs_src/performance/xla/operation_semantics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/docs_src/performance/xla/operation_semantics.md b/tensorflow/docs_src/performance/xla/operation_semantics.md
index 1e9b8b35db..f865c30aa8 100644
--- a/tensorflow/docs_src/performance/xla/operation_semantics.md
+++ b/tensorflow/docs_src/performance/xla/operation_semantics.md
@@ -252,7 +252,7 @@ Clamps an operand to within the range between a minimum and maximum value.
Given an operand and minimum and maximum values, returns the operand if it is in
the range between the minimum and maximum, else returns the minimum value if the
operand is below this range or the maximum value if the operand is above this
-range. That is, `clamp(a, x, b) = max(min(a, x), b)`.
+range. That is, `clamp(a, x, b) = min(max(a, x), b)`.
All three arrays must be the same shape. Alternately, as a restricted form of
[broadcasting](broadcasting.md), `min` and/or `max` can be a scalar of type `T`.