Class BaseUpsamplingLayer.UpsamplingBuilder<T extends BaseUpsamplingLayer.UpsamplingBuilder<T>>
- java.lang.Object
-
- org.deeplearning4j.nn.conf.layers.Layer.Builder<T>
-
- org.deeplearning4j.nn.conf.layers.BaseUpsamplingLayer.UpsamplingBuilder<T>
-
- Direct Known Subclasses:
Upsampling1D.Builder
,Upsampling2D.Builder
,Upsampling3D.Builder
- Enclosing class:
- BaseUpsamplingLayer
protected abstract static class BaseUpsamplingLayer.UpsamplingBuilder<T extends BaseUpsamplingLayer.UpsamplingBuilder<T>> extends Layer.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]
size
An int array to specify upsampling dimensions, the length of which has to equal to the number of spatial dimensions (e.g.-
Fields inherited from class org.deeplearning4j.nn.conf.layers.Layer.Builder
allParamConstraints, biasConstraints, iDropout, layerName, weightConstraints
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UpsamplingBuilder(int size)
A single size integer is used for upsampling in all spatial dimensionsprotected
UpsamplingBuilder(int[] size)
An int array to specify upsampling dimensions, the length of which has to equal to the number of spatial dimensions (e.g.
-
Method Summary
-
Methods inherited from class org.deeplearning4j.nn.conf.layers.Layer.Builder
build, constrainAllParameters, constrainBias, constrainWeights, dropOut, dropOut, name
-
-
-
-
Constructor Detail
-
UpsamplingBuilder
protected UpsamplingBuilder(int size)
A single size integer is used for upsampling in all spatial dimensions- Parameters:
size
- int for upsampling
-
UpsamplingBuilder
protected UpsamplingBuilder(int[] size)
An int array to specify upsampling dimensions, the length of which has to equal to the number of spatial dimensions (e.g. 2 for Upsampling2D etc.)- Parameters:
size
- int for upsampling
-
-