ConvertToFloatArray

class ConvertToFloatArray : Operation<BufferedImage, Pair<FloatArray, TensorShape>>

Converts BufferedImage to float array representation.

Constructors

ConvertToFloatArray
Link copied to clipboard
fun ConvertToFloatArray()

Functions

apply
Link copied to clipboard
open override fun apply(input: BufferedImage): Pair<FloatArray, TensorShape>
getOutputShape
Link copied to clipboard
open override fun getOutputShape(inputShape: TensorShape): TensorShape