create
fun create(pathToData: File, labels: FloatArray, preprocessing: Operation<BufferedImage, Pair<FloatArray, TensorShape>> = ConvertToFloatArray()): OnFlyImageDataset<File>
Content copied to clipboard
Create dataset OnFlyImageDataset from pathToData and labels using preprocessing to prepare images.
fun create(pathToData: File, labelGenerator: LabelGenerator<File>, preprocessing: Operation<BufferedImage, Pair<FloatArray, TensorShape>> = ConvertToFloatArray()): OnFlyImageDataset<File>
Content copied to clipboard
Create dataset OnFlyImageDataset from pathToData and labelGenerator using preprocessing to prepare images.