diff options
author | 2018-08-17 22:01:53 -0700 | |
---|---|---|
committer | 2018-08-17 22:05:27 -0700 | |
commit | 4a41f50648929197954d892559587cb76458d306 (patch) | |
tree | 03e7be68100a695659878a3dd523bda9d230d37f /tensorflow/compiler/xla/service/instruction_fusion.cc | |
parent | b7c242475c3d6e38ae864ae06f937c1b29c0a494 (diff) |
[XLA] Switch to absl versions of the c_foo functions.
PiperOrigin-RevId: 209247783
Diffstat (limited to 'tensorflow/compiler/xla/service/instruction_fusion.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/instruction_fusion.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 <numeric> #include <vector> +#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 |