diff options
author | 2017-04-08 10:46:38 -0800 | |
---|---|---|
committer | 2017-04-08 12:07:37 -0700 | |
commit | df7f248aba2ab38862ce4790bdacd7860989ed87 (patch) | |
tree | 1ccb2aa1118fb11d59f0c20353db05ac7091ad76 /tensorflow/core/protobuf | |
parent | b76f02855f88873a82348e60c20e0bed2f19b07d (diff) |
Add auto parallelization to meta optimizer. Enable MetaOptimizer if any one of the optimizers is on.
Change: 152598517
Diffstat (limited to 'tensorflow/core/protobuf')
-rw-r--r-- | tensorflow/core/protobuf/rewriter_config.proto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tensorflow/core/protobuf/rewriter_config.proto b/tensorflow/core/protobuf/rewriter_config.proto index 63821cb55e..753edba4b8 100644 --- a/tensorflow/core/protobuf/rewriter_config.proto +++ b/tensorflow/core/protobuf/rewriter_config.proto @@ -6,6 +6,11 @@ option java_outer_classname = "RewriterConfigProtos"; option java_multiple_files = true; option java_package = "org.tensorflow.framework"; +message AutoParallelOptions { + bool enable = 1; + int32 num_replicas = 2; +} + message RewriterConfig { bool optimize_tensor_layout = 1; bool disable_model_pruning = 2; @@ -19,6 +24,8 @@ message RewriterConfig { } MemOptType memory_optimization = 4; + AutoParallelOptions auto_parallel = 5; + // 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; |