toFloatArray

fun <I> Operation<I, BufferedImage>.toFloatArray(block: ConvertToFloatArray.() -> Unit): Operation<I, Pair<FloatArray, TensorShape>>

Applies ConvertToFloatArray operation to convert the image to a float array.