diff options
author | 2017-02-24 11:50:30 -0800 | |
---|---|---|
committer | 2017-02-24 12:08:47 -0800 | |
commit | 8120e2a270c28e0a62b9f522164b196a90f113b7 (patch) | |
tree | 3d95683920536d58e00d5e22b7118900d49cf56a /tensorflow/g3doc | |
parent | 11ba79eee215f7f5831d60101df24770acea3b5f (diff) |
[XLA] Add an IsFinite operation that tests elementwise whether values are finite (i.e., not NaN or Inf).
Change: 148485205
Diffstat (limited to 'tensorflow/g3doc')
-rw-r--r-- | tensorflow/g3doc/experimental/xla/operation_semantics.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/g3doc/experimental/xla/operation_semantics.md b/tensorflow/g3doc/experimental/xla/operation_semantics.md index 4808b919b4..5fdacd42db 100644 --- a/tensorflow/g3doc/experimental/xla/operation_semantics.md +++ b/tensorflow/g3doc/experimental/xla/operation_semantics.md @@ -552,6 +552,11 @@ ComputationBuilder supports these element-wise unary functions: <b>`Floor(operand)`</b> Element-wise floor `x -> ⌊x⌋`. +<b>`IsFinite(operand)`</b> Tests whether each element of `operand` is finite, +i.e., is not positive or negative infinity, and is not `NaN`. Returns an array +of `PRED` values with the same shape as the input, where each element is `true` +if and only if the corresponding input element is finite. + <b>`Log(operand)`</b> Element-wise natural logarithm `x -> ln(x)`. <b>`LogicalNot(operand)`</b> Element-wise logical not `x -> !(x)`. |