diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-08-17 22:16:36 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-17 22:20:29 -0700 |
commit | 39b17f9d56d6b9a02a30bfa24ac9e15ab37ca761 (patch) | |
tree | f6ded73c971ab178bde3f1c319e6ce867e95ae29 /tensorflow/compiler/xla/service/hlo_computation.cc | |
parent | 4a41f50648929197954d892559587cb76458d306 (diff) |
Automated rollback of commit 4a41f50648929197954d892559587cb76458d306
PiperOrigin-RevId: 209248552
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_computation.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_computation.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_computation.cc b/tensorflow/compiler/xla/service/hlo_computation.cc index db853360f1..441288da1a 100644 --- a/tensorflow/compiler/xla/service/hlo_computation.cc +++ b/tensorflow/compiler/xla/service/hlo_computation.cc @@ -23,7 +23,6 @@ limitations under the License. #include <set> #include <sstream> -#include "absl/algorithm/container.h" #include "tensorflow/compiler/xla/layout_util.h" #include "tensorflow/compiler/xla/map_util.h" #include "tensorflow/compiler/xla/ptr_util.h" @@ -902,9 +901,9 @@ void HloComputation::UniquifyName(NameUniquer* name_uniquer) { HloInstruction* HloComputation::GetInstructionWithName( tensorflow::StringPiece name) { auto instructions_in_computation = instructions(); - auto it = absl::c_find_if( - instructions_in_computation, - [&](HloInstruction* instr) { return instr->name() == name; }); + auto it = c_find_if(instructions_in_computation, [&](HloInstruction* instr) { + return instr->name() == name; + }); return it == instructions_in_computation.end() ? nullptr : *it; } |