From 1c241e5ba7fa7068f9cf8f925638b170db57c438 Mon Sep 17 00:00:00 2001 From: Peter Hawkins Date: Fri, 13 Oct 2017 07:00:42 -0700 Subject: [XLA] Add ShiftLeft, ShiftRightArithmetic, and ShiftRightLogical operators. PiperOrigin-RevId: 172091595 --- tensorflow/compiler/xla/service/hlo_opcode.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tensorflow/compiler/xla/service/hlo_opcode.cc') diff --git a/tensorflow/compiler/xla/service/hlo_opcode.cc b/tensorflow/compiler/xla/service/hlo_opcode.cc index d3d78f4a99..e98012ec0c 100644 --- a/tensorflow/compiler/xla/service/hlo_opcode.cc +++ b/tensorflow/compiler/xla/service/hlo_opcode.cc @@ -147,6 +147,12 @@ string HloOpcodeString(HloOpcode opcode) { return "select"; case HloOpcode::kSend: return "send"; + case HloOpcode::kShiftLeft: + return "shift-left"; + case HloOpcode::kShiftRightArithmetic: + return "shift-right-arithmetic"; + case HloOpcode::kShiftRightLogical: + return "shift-right-logical"; case HloOpcode::kSign: return "sign"; case HloOpcode::kSin: -- cgit v1.2.3