Lenet
This model is a neural network for digit classification that take grey-scale images of digits as input and classify the major object in the image into a set of 10 different classes.
This model is just an implementation of the famous LeNet-5 model.
The model have
an input with the shape (1x1x28x28)
an output with the shape (1x10)
Constructors
Functions
model
Link copied to clipboard
preInit
Link copied to clipboard
preprocessInput
Link copied to clipboard
open fun preprocessInput(imageFile: File, preprocessing: Preprocessing): FloatArray
Content copied to clipboard
open override fun preprocessInput(data: FloatArray, tensorShape: LongArray): FloatArray
Content copied to clipboard
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): ImageRecognitionModel
Content copied to clipboard