diff options
author | Benjamin Kramer <kramerb@google.com> | 2018-08-30 13:59:11 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-30 14:03:08 -0700 |
commit | feffc075befac53dddc721572493796c8fbffe3c (patch) | |
tree | 437de0f7e0dabfbea9782ac0c074d57ed2c1c75f /tensorflow/compiler/xla/service/hlo_instruction.h | |
parent | f207dd8964be31ee33e733367f1c9b7325479482 (diff) |
[XLA] xla::ContainersEqual -> absl::c_equal
The replacement for the initializer_list overload is a bit sad because MakeSpan doesn't understand initializer_list (and we don't have CTAD yet)
PiperOrigin-RevId: 210974939
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_instruction.h')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_instruction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_instruction.h b/tensorflow/compiler/xla/service/hlo_instruction.h index 4a424cebc0..f3fd287d88 100644 --- a/tensorflow/compiler/xla/service/hlo_instruction.h +++ b/tensorflow/compiler/xla/service/hlo_instruction.h @@ -867,8 +867,8 @@ class HloInstruction { return false; } - if (!ContainersEqual(precision_config_.operand_precision(), - other.precision_config_.operand_precision())) { + if (!absl::c_equal(precision_config_.operand_precision(), + other.precision_config_.operand_precision())) { return false; } |