public static class ConvolutionLayer.Builder extends ConvolutionLayer.BaseConvBuilder<ConvolutionLayer.Builder>
convolutionMode, cudnnAlgoMode, kernelSize, padding, stride
nIn, nOut
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() |
Builder(int... kernelSize) |
Builder(int[] kernelSize,
int[] stride) |
Builder(int[] kernelSize,
int[] stride,
int[] padding) |
Modifier and Type | Method and Description |
---|---|
ConvolutionLayer |
build() |
ConvolutionLayer.Builder |
kernelSize(int... kernelSize)
Size of the convolution
rows/columns
|
ConvolutionLayer.Builder |
padding(int... padding) |
ConvolutionLayer.Builder |
stride(int... stride) |
convolutionMode, cudnnAlgoMode
nIn, nOut
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[] kernelSize, int[] stride, int[] padding)
public Builder(int[] kernelSize, int[] stride)
public Builder(int... kernelSize)
public Builder()
public ConvolutionLayer.Builder kernelSize(int... kernelSize)
kernelSize
- the height and width of the
kernelpublic ConvolutionLayer.Builder stride(int... stride)
public ConvolutionLayer.Builder padding(int... padding)
public ConvolutionLayer build()
build
in class Layer.Builder<ConvolutionLayer.Builder>
Copyright © 2017. All Rights Reserved.