aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/protobuf
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <bsteiner@google.com>2017-08-16 12:12:57 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-16 12:16:26 -0700
commitc247826219dd2541c6aba4578a03a171375d9290 (patch)
treefa877550d8ec1692fc504a1f4b1e46954f95cd1d /tensorflow/core/protobuf
parenta711418d89ede587a5ead9f9540fab1cf43b5d12 (diff)
Added preliminary support for arithmetic simplifications
PiperOrigin-RevId: 165476236
Diffstat (limited to 'tensorflow/core/protobuf')
-rw-r--r--tensorflow/core/protobuf/rewriter_config.proto5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/core/protobuf/rewriter_config.proto b/tensorflow/core/protobuf/rewriter_config.proto
index aea00b17d9..86ec1854fb 100644
--- a/tensorflow/core/protobuf/rewriter_config.proto
+++ b/tensorflow/core/protobuf/rewriter_config.proto
@@ -27,9 +27,10 @@ message RewriterConfig {
// Optimize tensor layouts
bool optimize_tensor_layout = 1;
- // Fold constants (default is OFF)
+ // Fold constants (default is ON)
Toggle constant_folding = 3;
-
+ // Arithmetic optimizations (default is OFF)
+ Toggle arithmetic_optimization = 7;
// If true, don't remove unnecessary ops from the graph
bool disable_model_pruning = 2;