From 4a41f50648929197954d892559587cb76458d306 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Fri, 17 Aug 2018 22:01:53 -0700 Subject: [XLA] Switch to absl versions of the c_foo functions. PiperOrigin-RevId: 209247783 --- tensorflow/compiler/xla/service/instruction_fusion.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tensorflow/compiler/xla/service/instruction_fusion.cc') diff --git a/tensorflow/compiler/xla/service/instruction_fusion.cc b/tensorflow/compiler/xla/service/instruction_fusion.cc index f33942d679..2fd2214806 100644 --- a/tensorflow/compiler/xla/service/instruction_fusion.cc +++ b/tensorflow/compiler/xla/service/instruction_fusion.cc @@ -21,6 +21,7 @@ limitations under the License. #include #include +#include "absl/algorithm/container.h" #include "tensorflow/compiler/xla/map_util.h" #include "tensorflow/compiler/xla/service/hlo_opcode.h" #include "tensorflow/core/lib/core/errors.h" @@ -497,7 +498,7 @@ HloInstruction* InstructionFusion::FuseIntoMultiOutput( bool InstructionFusion::MultiOutputFusionCreatesCycle( HloInstruction* producer, HloInstruction* consumer) { - return c_any_of( + return absl::c_any_of( consumer->operands(), [&](const HloInstruction* consumer_operand) { // The fusion algorithm traverses the HLO graph in reverse post order. // Thus `cosumers` is visited before its operands (including -- cgit v1.2.3