toFloatArray

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

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