| Modifier and Type | Method and Description |
|---|---|
ai.djl.nn.Block |
build()
Builds a
NiN block. |
NiN.Builder |
setDropOutRate(float dropOutRate)
Sets the dropout rate in the network.
|
NiN.Builder |
setNumChannels(int[] numChannels)
Sets the number of channels for the niN blocks.
|
public NiN.Builder setDropOutRate(float dropOutRate)
dropOutRate - the dropout rateBuilderpublic NiN.Builder setNumChannels(int[] numChannels)
numChannels - the number of channels for every niN block.Builder