diff options
author | 2017-10-09 13:19:07 -0700 | |
---|---|---|
committer | 2017-10-09 13:23:10 -0700 | |
commit | 11c123b43bd26d7829a927f2150622be84d57ef2 (patch) | |
tree | 492af6c760530e53519926fa71d32a2a0f509bea /tensorflow/compiler/xla/service/dfs_hlo_visitor.h | |
parent | 27df639673ae2bfe63b82862008da9bec488f0db (diff) |
[TF:XLA] Rename HLO visitor methods from LogicalX to X
PiperOrigin-RevId: 171577639
Diffstat (limited to 'tensorflow/compiler/xla/service/dfs_hlo_visitor.h')
-rw-r--r-- | tensorflow/compiler/xla/service/dfs_hlo_visitor.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/tensorflow/compiler/xla/service/dfs_hlo_visitor.h b/tensorflow/compiler/xla/service/dfs_hlo_visitor.h index 2c16a1b903..8c864f3d07 100644 --- a/tensorflow/compiler/xla/service/dfs_hlo_visitor.h +++ b/tensorflow/compiler/xla/service/dfs_hlo_visitor.h @@ -156,17 +156,16 @@ class DfsHloVisitor { HloInstruction* operand) { return HandleElementwiseUnary(is_finite); } - virtual Status HandleLogicalAnd(HloInstruction* logical_and, - HloInstruction* lhs, HloInstruction* rhs) { - return HandleElementwiseBinary(logical_and); + virtual Status HandleAnd(HloInstruction* and_, HloInstruction* lhs, + HloInstruction* rhs) { + return HandleElementwiseBinary(and_); } - virtual Status HandleLogicalNot(HloInstruction* logical_not, - HloInstruction* operand) { - return HandleElementwiseUnary(logical_not); + virtual Status HandleNot(HloInstruction* not_, HloInstruction* operand) { + return HandleElementwiseUnary(not_); } - virtual Status HandleLogicalOr(HloInstruction* logical_or, - HloInstruction* lhs, HloInstruction* rhs) { - return HandleElementwiseBinary(logical_or); + virtual Status HandleOr(HloInstruction* or_, HloInstruction* lhs, + HloInstruction* rhs) { + return HandleElementwiseBinary(or_); } virtual Status HandleReducePrecision(HloInstruction* reduce_precision) { return HandleElementwiseUnary(reduce_precision); |