diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-06-14 17:12:51 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-06-14 17:15:41 -0700 |
commit | 9e4cbaf3a3a3bfca913bebdcfc082265c7a13ad6 (patch) | |
tree | c8fcc2f493b5a6f7d38a9b2c036ecffd5105ac37 /tensorflow/core/grappler/optimizers/arithmetic_optimizer.h | |
parent | 261ab05537885556f92d7322017ddf73ea5a7357 (diff) |
Convert log(x+1) to log1p(x).
PiperOrigin-RevId: 200645461
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 40c5e9fc56..9a6081dcd8 100644 --- a/tensorflow/core/grappler/optimizers/arithmetic_optimizer.h +++ b/tensorflow/core/grappler/optimizers/arithmetic_optimizer.h @@ -75,6 +75,7 @@ class ArithmeticOptimizer : public GraphOptimizer { bool replace_mul_with_square = true; bool simplify_aggregation = true; bool convert_pow = true; + bool convert_log1p = true; // Choose which arithmetic optimizer stages will be enabled for a given // optimization level by default. |