protected abstract static class SubsamplingLayer.BaseSubsamplingBuilder<T extends SubsamplingLayer.BaseSubsamplingBuilder<T>> extends Layer.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected ConvolutionMode |
convolutionMode |
protected double |
eps |
protected int[] |
kernelSize |
protected int[] |
padding |
protected int |
pnorm |
protected PoolingType |
poolingType |
protected int[] |
stride |
activationFn, adamMeanDecay, adamVarDecay, biasInit, biasLearningRate, dist, dropOut, epsilon, gradientNormalization, gradientNormalizationThreshold, l1, l1Bias, l2, l2Bias, layerName, learningRate, learningRatePolicy, learningRateSchedule, momentum, momentumAfter, rho, rmsDecay, updater, weightInit
Modifier | Constructor and Description |
---|---|
protected |
BaseSubsamplingBuilder(int... kernelSize) |
protected |
BaseSubsamplingBuilder(int[] kernelSize,
int[] stride) |
protected |
BaseSubsamplingBuilder(int[] kernelSize,
int[] stride,
int[] padding) |
protected |
BaseSubsamplingBuilder(PoolingType poolingType) |
protected |
BaseSubsamplingBuilder(PoolingType poolingType,
int[] kernelSize) |
protected |
BaseSubsamplingBuilder(PoolingType poolingType,
int[] kernelSize,
int[] stride,
int[] padding) |
protected |
BaseSubsamplingBuilder(SubsamplingLayer.PoolingType poolingType) |
protected |
BaseSubsamplingBuilder(SubsamplingLayer.PoolingType poolingType,
int[] kernelSize) |
protected |
BaseSubsamplingBuilder(SubsamplingLayer.PoolingType poolingType,
int[] kernelSize,
int[] stride) |
protected |
BaseSubsamplingBuilder(SubsamplingLayer.PoolingType poolingType,
int[] kernelSize,
int[] stride,
int[] padding) |
Modifier and Type | Method and Description |
---|---|
T |
convolutionMode(ConvolutionMode convolutionMode)
Set the convolution mode for the Convolution layer.
|
T |
eps(double eps) |
T |
pnorm(int pnorm) |
T |
poolingType(SubsamplingLayer.PoolingType poolingType) |
activation, activation, activation, adamMeanDecay, adamVarDecay, biasInit, biasLearningRate, build, dist, dropOut, epsilon, gradientNormalization, gradientNormalizationThreshold, l1, l1Bias, l2, l2Bias, learningRate, learningRateDecayPolicy, learningRateSchedule, momentum, momentumAfter, name, rho, rmsDecay, updater, weightInit
protected PoolingType poolingType
protected int[] kernelSize
protected int[] stride
protected int[] padding
protected ConvolutionMode convolutionMode
protected int pnorm
protected double eps
protected BaseSubsamplingBuilder(SubsamplingLayer.PoolingType poolingType, int[] kernelSize, int[] stride)
protected BaseSubsamplingBuilder(SubsamplingLayer.PoolingType poolingType, int[] kernelSize)
protected BaseSubsamplingBuilder(SubsamplingLayer.PoolingType poolingType, int[] kernelSize, int[] stride, int[] padding)
protected BaseSubsamplingBuilder(PoolingType poolingType, int[] kernelSize)
protected BaseSubsamplingBuilder(PoolingType poolingType, int[] kernelSize, int[] stride, int[] padding)
protected BaseSubsamplingBuilder(int[] kernelSize, int[] stride, int[] padding)
protected BaseSubsamplingBuilder(int[] kernelSize, int[] stride)
protected BaseSubsamplingBuilder(int... kernelSize)
protected BaseSubsamplingBuilder(SubsamplingLayer.PoolingType poolingType)
protected BaseSubsamplingBuilder(PoolingType poolingType)
public T convolutionMode(ConvolutionMode convolutionMode)
ConvolutionMode
for more detailsconvolutionMode
- Convolution mode for layerpublic T poolingType(SubsamplingLayer.PoolingType poolingType)
public T pnorm(int pnorm)
public T eps(double eps)