Package org.jetbrains.kotlinx.dl.dataset.preprocessing
Functions
fileLoader
Link copied to clipboard
fun Operation<BufferedImage, Pair<FloatArray, TensorShape>>.fileLoader(): DataLoader<File>
Content copied to clipboard
Returns a DataLoader instance which loads images from files and uses this Operation to process them.
inputStreamLoader
Link copied to clipboard
fun Operation<BufferedImage, Pair<FloatArray, TensorShape>>.inputStreamLoader(): DataLoader<InputStream>
Content copied to clipboard
Returns a DataLoader instance which loads images from input streams and uses this Operation to process them.