diff options
author | 2018-04-02 19:32:45 -0700 | |
---|---|---|
committer | 2018-04-02 19:36:00 -0700 | |
commit | fa2e70d7fae8466c4006bd29334a3cc440ee6d3a (patch) | |
tree | 1028596811e63326635fdfe98ad717249f5585ee | |
parent | ec16dd449482f38100083505314cb4179f7d1cb8 (diff) |
Deleted a special case
PiperOrigin-RevId: 191385909
-rw-r--r-- | tensorflow/core/grappler/optimizers/function_optimizer.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tensorflow/core/grappler/optimizers/function_optimizer.cc b/tensorflow/core/grappler/optimizers/function_optimizer.cc index 2a6b8a325f..6cdc51f1bd 100644 --- a/tensorflow/core/grappler/optimizers/function_optimizer.cc +++ b/tensorflow/core/grappler/optimizers/function_optimizer.cc @@ -286,12 +286,6 @@ Status FunctionOptimizer::Optimize(Cluster* cluster, const GrapplerItem& item, if (func.attr().count("_noinline") != 0) { continue; } - // Don't touch anything marked XLA to prevent XLA failures further down the - // road. - if (func.attr().count("_XlaCompile") > 0 && - func.attr().at("_XlaCompile").b()) { - continue; - } // Can't create IdentityN nodes with no input or output: skip these // functions for now. if (func.signature().input_arg_size() == 0 || |