Class LeNet.Builder
- java.lang.Object
-
- ai.djl.basicmodelzoo.cv.classification.LeNet.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ai.djl.nn.Block
build()
Builds aLeNet
block.LeNet.Builder
setNumChannels(int[] numChannels)
Sets the number of channels for the LeNet blocks.
-
-
-
Method Detail
-
setNumChannels
public LeNet.Builder setNumChannels(int[] numChannels)
Sets the number of channels for the LeNet blocks.- Parameters:
numChannels
- the number of channels for every LeNet block.- Returns:
- this
Builder
-
-