def get_next_batch(inputs, labels, start, batch_size):
    """
    Helper function for batching
    Returns a slice of inputs and slice of corresponding labels
    :param inputs: NumPy inputs array
    :param labels: NumPy labels array
    :param start: starting index for the slice
    :param batch_size: number of examples desired for the batch
    :return: NumPy array of batched inputs and labels
    """
    end = start + batch_size
    return (inputs[start:end], labels[start:end])