@staticmethod
def _drop_int_axes(indexed_shape, int_axes):
    """drop the axis of indexed_shape corresponding to int axes"""
    bcast_shape = []
    for i, size in enumerate(indexed_shape):
        if i not in int_axes:
            bcast_shape.append(size)
    if not bcast_shape:
        bcast_shape = [1]
    return tuple(bcast_shape)
