def _get_preps_with_cache_placeholder_buffer_size(self, buffer_size):
    preps = list(self.DEFAULT_PREPROCESSORS)
    for (i, p) in enumerate(preps):
        if isinstance(p, dataset_providers.CacheDatasetPlaceholder):
            preps[i] = dataset_providers.CacheDatasetPlaceholder(file_shuffle_buffer_size=buffer_size)
    return preps
def _get_preps_with_cache_placeholder_buffer_size(self, buffer_size):
    preps = list(self.DEFAULT_PREPROCESSORS)
    for (i, p) in enumerate(preps):
        if isinstance(p, dataset_providers.CacheDatasetPlaceholder):
            preps[i] = dataset_providers.CacheDatasetPlaceholder(file_shuffle_buffer_size=buffer_size)
    return preps