Apparently `INDEX_DTYPE` is not mentioned in the manual so people may have completely no idea how to setup a numpy array for the batch functions.