public static class ZeroPaddingLayer.Builder extends Layer.Builder<ZeroPaddingLayer.Builder>
activationFn, adamMeanDecay, adamVarDecay, biasInit, biasLearningRate, dist, dropOut, epsilon, gradientNormalization, gradientNormalizationThreshold, l1, l1Bias, l2, l2Bias, layerName, learningRate, learningRatePolicy, learningRateSchedule, momentum, momentumAfter, rho, rmsDecay, updater, weightInit
Constructor and Description |
---|
Builder(int[] padding) |
Builder(int padHeight,
int padWidth) |
Builder(int padTop,
int padBottom,
int padLeft,
int padRight) |
Modifier and Type | Method and Description |
---|---|
ZeroPaddingLayer |
build() |
activation, activation, activation, adamMeanDecay, adamVarDecay, biasInit, biasLearningRate, dist, dropOut, epsilon, gradientNormalization, gradientNormalizationThreshold, l1, l1Bias, l2, l2Bias, learningRate, learningRateDecayPolicy, learningRateSchedule, momentum, momentumAfter, name, rho, rmsDecay, updater, weightInit
public Builder(int padHeight, int padWidth)
padHeight
- Padding for both the top and bottompadWidth
- Padding for both the left and rightpublic Builder(int padTop, int padBottom, int padLeft, int padRight)
public Builder(int[] padding)
public ZeroPaddingLayer build()
build
in class Layer.Builder<ZeroPaddingLayer.Builder>