diff options
author | 2017-10-13 07:00:42 -0700 | |
---|---|---|
committer | 2017-10-13 07:05:06 -0700 | |
commit | 1c241e5ba7fa7068f9cf8f925638b170db57c438 (patch) | |
tree | d1bf5bb507023162d4c79a86c6d72d6d4f36cc09 /tensorflow/compiler/xla/service/hlo_opcode.cc | |
parent | a3b2d6f395ef3f66c9ccd8578e94243e49f76576 (diff) |
[XLA] Add ShiftLeft, ShiftRightArithmetic, and ShiftRightLogical operators.
PiperOrigin-RevId: 172091595
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_opcode.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_opcode.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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: |