def _shift_right_logical(x, y):
    return tf.where(_shift_in_bounds(x, y), _shift_right_logical_raw(x, y), tf.zeros_like(x))
def _shift_right_logical(x, y):
    return tf.where(_shift_in_bounds(x, y), _shift_right_logical_raw(x, y), tf.zeros_like(x))