protected abstract static class Subsampling3DLayer.BaseSubsamplingBuilder<T extends Subsampling3DLayer.BaseSubsamplingBuilder<T>> extends Layer.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected ConvolutionMode |
convolutionMode |
protected boolean |
cudnnAllowFallback |
protected int[] |
kernelSize |
protected int[] |
padding |
protected PoolingType |
poolingType |
protected int[] |
stride |
allParamConstraints, biasConstraints, iDropout, layerName, weightConstraints
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(Subsampling3DLayer.PoolingType poolingType) |
protected |
BaseSubsamplingBuilder(Subsampling3DLayer.PoolingType poolingType,
int[] kernelSize) |
protected |
BaseSubsamplingBuilder(Subsampling3DLayer.PoolingType poolingType,
int[] kernelSize,
int[] stride) |
protected |
BaseSubsamplingBuilder(Subsampling3DLayer.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 |
cudnnAllowFallback(boolean allowFallback)
When using CuDNN and an error is encountered, should fallback to the non-CuDNN implementatation be allowed?
If set to false, an exception in CuDNN will be propagated back to the user.
|
T |
poolingType(Subsampling3DLayer.PoolingType poolingType) |
build, constrainAllParameters, constrainBias, constrainWeights, dropOut, dropOut, name
protected PoolingType poolingType
protected int[] kernelSize
protected int[] stride
protected int[] padding
protected ConvolutionMode convolutionMode
protected boolean cudnnAllowFallback
protected BaseSubsamplingBuilder(Subsampling3DLayer.PoolingType poolingType, int[] kernelSize, int[] stride)
protected BaseSubsamplingBuilder(Subsampling3DLayer.PoolingType poolingType, int[] kernelSize)
protected BaseSubsamplingBuilder(Subsampling3DLayer.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(Subsampling3DLayer.PoolingType poolingType)
protected BaseSubsamplingBuilder(PoolingType poolingType)
public T convolutionMode(ConvolutionMode convolutionMode)
ConvolutionMode
for more detailsconvolutionMode
- Convolution mode for layerpublic T poolingType(Subsampling3DLayer.PoolingType poolingType)
public T cudnnAllowFallback(boolean allowFallback)
allowFallback
- Whether fallback to non-CuDNN implementation should be usedCopyright © 2018. All rights reserved.