Explicitly config if the ImageDataLayer gets data from disk or memory