java.lang.Object
ai.djl.basicmodelzoo.cv.classification.LeNet

public final class LeNet extends Object
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:
  • Method Details

    • leNet

      public static ai.djl.nn.Block leNet(LeNet.Builder builder)
      Creates a LeNet network block with the help of the LeNet Builder.
      Parameters:
      builder - the LeNet.Builder with the necessary arguments.
      Returns:
      a LeNet block.
    • builder

      public static LeNet.Builder builder()
      Creates a builder to build a LeNet.
      Returns:
      a new builder