diff options
author | Yao Zhang <yaozhang@google.com> | 2017-04-04 15:13:44 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-04-04 16:28:40 -0700 |
commit | 8f74d595ef8a7a617596529e129d2a05dd18bb90 (patch) | |
tree | fd5dc90b262198b306198705959ed8386a96c34f /tensorflow/core/protobuf | |
parent | 83afdc92d9bdafeb65c3f84263ad09e337ff29e7 (diff) |
Add a way to specify the optimization order; refactor and add constant folding to meta optimizer.
Change: 152193646
Diffstat (limited to 'tensorflow/core/protobuf')
-rw-r--r-- | tensorflow/core/protobuf/rewriter_config.proto | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/core/protobuf/rewriter_config.proto b/tensorflow/core/protobuf/rewriter_config.proto index aef69461d8..6e9eff6225 100644 --- a/tensorflow/core/protobuf/rewriter_config.proto +++ b/tensorflow/core/protobuf/rewriter_config.proto @@ -9,4 +9,8 @@ option java_package = "org.tensorflow.framework"; message RewriterConfig { bool optimize_tensor_layout = 1; bool disable_model_pruning = 2; + bool constant_folding = 3; + // If non-empty, will use this as an alternative way to specify a list of + // optimizations to turn on and the order of the optimizations. + repeated string optimizers = 100; } |