Commit 4c7e02c0 authored by Peter Hawkins's avatar Peter Hawkins Committed by TensorFlower Gardener
Browse files

Add bitwise LeftShift (aka. tf.bitwise.left_shift) and RightShift...

Add bitwise LeftShift (aka. tf.bitwise.left_shift) and RightShift (tf.bitwise_right_shift) operators to Tensorflow. Their semantics are intended to mirror numpy.left_shift and numpy.right_shift.

Fix a couple of missing cases of missing uint32/uint64 support exposed when adding tests for bitshifts.

PiperOrigin-RevId: 172530375
parent 10913363
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment