def __init__(self, img_paths, batch_size, labels=None, prefetch_batch=(_N_CPU + 1), drop_remainder=True, filter=None, map_func=None, num_threads=_N_CPU, shuffle=True, buffer_size=4096, repeat=(- 1), sess=None):
    super(DiskImageData, self).__init__()
    dataset = disk_image_batch_dataset(img_paths, batch_size, labels, prefetch_batch, drop_remainder, filter, map_func, num_threads, shuffle, buffer_size, repeat)
    self._bulid(dataset, sess)
    self._n_data = len(img_paths)
def __init__(self, img_paths, batch_size, labels=None, prefetch_batch=(_N_CPU + 1), drop_remainder=True, filter=None, map_func=None, num_threads=_N_CPU, shuffle=True, buffer_size=4096, repeat=(- 1), sess=None):
    super(DiskImageData, self).__init__()
    dataset = disk_image_batch_dataset(img_paths, batch_size, labels, prefetch_batch, drop_remainder, filter, map_func, num_threads, shuffle, buffer_size, repeat)
    self._bulid(dataset, sess)
    self._n_data = len(img_paths)