diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-06-28 22:11:49 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-06-28 22:13:59 -0700 |
commit | 6874e1ef40c4189d96c105227f60b507953f95d3 (patch) | |
tree | ca8c6d0f04aec4c2a32c99582084116606f9adaa /tensorflow/core/grappler/optimizers/arithmetic_optimizer.h | |
parent | 50839154899377f89367d851f6d1e2c45fcd6431 (diff) |
Convert exp(x-1) into expm1(x).
PiperOrigin-RevId: 202598404
Diffstat (limited to 'tensorflow/core/grappler/optimizers/arithmetic_optimizer.h')
-rw-r--r-- | tensorflow/core/grappler/optimizers/arithmetic_optimizer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/core/grappler/optimizers/arithmetic_optimizer.h b/tensorflow/core/grappler/optimizers/arithmetic_optimizer.h index 824ef35ef6..45a5f65b81 100644 --- a/tensorflow/core/grappler/optimizers/arithmetic_optimizer.h +++ b/tensorflow/core/grappler/optimizers/arithmetic_optimizer.h @@ -77,6 +77,7 @@ class ArithmeticOptimizer : public GraphOptimizer { bool simplify_aggregation = true; bool convert_pow = true; bool convert_log1p = true; + bool convert_expm1 = true; // Choose which arithmetic optimizer stages will be enabled for a given // optimization level by default. |