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;
|
||||
}
|
||||
|
||||
private static final class Convolution1DLayerBuilderImpl extends ConvolutionLayerBuilder<ConvolutionLayer, Convolution1DLayerBuilderImpl> {
|
||||
public ConvolutionLayer build() {
|
||||
ConvolutionLayer l = new ConvolutionLayer(this);
|
||||
private static final class Convolution1DLayerBuilderImpl extends Convolution1DLayerBuilder<Convolution1DLayer, Convolution1DLayerBuilderImpl> {
|
||||
public Convolution1DLayer build() {
|
||||
Convolution1DLayer l = new Convolution1DLayer(this);
|
||||
ConvolutionUtils.validateConvolutionModePadding(l.getConvolutionMode(), l.getPadding());
|
||||
ConvolutionUtils.validateCnnKernelStridePadding(
|
||||
l.getKernelSize(), l.getStride(), l.getPadding());
|
||||
|
|
Loading…
Reference in New Issue