Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>master
parent
cb236878a4
commit
35ea21e436
|
@ -183,9 +183,9 @@ public class Convolution1DLayer extends ConvolutionLayer {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final class Convolution1DLayerBuilderImpl extends ConvolutionLayerBuilder<ConvolutionLayer, Convolution1DLayerBuilderImpl> {
|
private static final class Convolution1DLayerBuilderImpl extends Convolution1DLayerBuilder<Convolution1DLayer, Convolution1DLayerBuilderImpl> {
|
||||||
public ConvolutionLayer build() {
|
public Convolution1DLayer build() {
|
||||||
ConvolutionLayer l = new ConvolutionLayer(this);
|
Convolution1DLayer l = new Convolution1DLayer(this);
|
||||||
ConvolutionUtils.validateConvolutionModePadding(l.getConvolutionMode(), l.getPadding());
|
ConvolutionUtils.validateConvolutionModePadding(l.getConvolutionMode(), l.getPadding());
|
||||||
ConvolutionUtils.validateCnnKernelStridePadding(
|
ConvolutionUtils.validateCnnKernelStridePadding(
|
||||||
l.getKernelSize(), l.getStride(), l.getPadding());
|
l.getKernelSize(), l.getStride(), l.getPadding());
|
||||||
|
|
Loading…
Reference in New Issue