Class LeNet
java.lang.Object
ai.djl.basicmodelzoo.cv.classification.LeNet
The model was introduced (and named for) Yann Lecun, for the purpose of recognizing handwritten
digits in images [LeNet5](http://yann.lecun.com/exdb/lenet/).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LeNet.Builderbuilder()Creates a builder to build aLeNet.static ai.djl.nn.BlockleNet(LeNet.Builder builder) Creates a LeNet network block with the help of the LeNet Builder.
-
Method Details
-
leNet
Creates a LeNet network block with the help of the LeNet Builder.- Parameters:
builder- theLeNet.Builderwith the necessary arguments.- Returns:
- a LeNet block.
-
builder
Creates a builder to build aLeNet.- Returns:
- a new builder
-