public static class SubsamplingLayer.Builder extends SubsamplingLayer.BaseSubsamplingBuilder<SubsamplingLayer.Builder>
convolutionMode, eps, kernelSize, padding, pnorm, poolingType, 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
Constructor and Description |
---|
Builder(int... kernelSize) |
Builder(int[] kernelSize,
int[] stride) |
Builder(int[] kernelSize,
int[] stride,
int[] padding) |
Builder(PoolingType poolingType) |
Builder(PoolingType poolingType,
int[] kernelSize) |
Builder(PoolingType poolingType,
int[] kernelSize,
int[] stride,
int[] padding) |
Builder(SubsamplingLayer.PoolingType poolingType) |
Builder(SubsamplingLayer.PoolingType poolingType,
int[] kernelSize) |
Builder(SubsamplingLayer.PoolingType poolingType,
int[] kernelSize,
int[] stride) |
Builder(SubsamplingLayer.PoolingType poolingType,
int[] kernelSize,
int[] stride,
int[] padding) |
Modifier and Type | Method and Description |
---|---|
SubsamplingLayer |
build() |
SubsamplingLayer.Builder |
kernelSize(int... kernelSize)
Kernel size
|
SubsamplingLayer.Builder |
padding(int... padding)
Padding
|
SubsamplingLayer.Builder |
stride(int... stride)
Stride
|
convolutionMode, eps, pnorm, poolingType
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(SubsamplingLayer.PoolingType poolingType, int[] kernelSize, int[] stride)
public Builder(SubsamplingLayer.PoolingType poolingType, int[] kernelSize)
public Builder(SubsamplingLayer.PoolingType poolingType, int[] kernelSize, int[] stride, int[] padding)
public Builder(PoolingType poolingType, int[] kernelSize)
public Builder(PoolingType poolingType, int[] kernelSize, int[] stride, int[] padding)
public Builder(int[] kernelSize, int[] stride, int[] padding)
public Builder(int[] kernelSize, int[] stride)
public Builder(int... kernelSize)
public Builder(SubsamplingLayer.PoolingType poolingType)
public Builder(PoolingType poolingType)
public SubsamplingLayer.Builder kernelSize(int... kernelSize)
kernelSize
- kernel size in height and width dimensionspublic SubsamplingLayer.Builder stride(int... stride)
stride
- stride in height and width dimensionspublic SubsamplingLayer.Builder padding(int... padding)
padding
- padding in the height and width dimensionspublic SubsamplingLayer build()
build
in class Layer.Builder<SubsamplingLayer.Builder>