Class Cropping3D.Builder
- java.lang.Object
-
- org.deeplearning4j.nn.conf.layers.Layer.Builder<Cropping3D.Builder>
-
- org.deeplearning4j.nn.conf.layers.convolutional.Cropping3D.Builder
-
- Enclosing class:
- Cropping3D
public static class Cropping3D.Builder extends Layer.Builder<Cropping3D.Builder>
-
-
Field Summary
-
Fields inherited from class org.deeplearning4j.nn.conf.layers.Layer.Builder
allParamConstraints, biasConstraints, iDropout, layerName, weightConstraints
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cropping3D
build()
void
setCropping(int... cropping)
-
Methods inherited from class org.deeplearning4j.nn.conf.layers.Layer.Builder
constrainAllParameters, constrainBias, constrainWeights, dropOut, dropOut, name
-
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(@NonNull @lombok.NonNull int[] cropping)
- Parameters:
cropping
- Cropping amount, must be length 3 or 6 array, i.e. either crop depth, crop height, crop width or crop left depth, crop right depth, crop left height, crop right height, crop left width, crop right width
-
Builder
public Builder(int cropDepth, int cropHeight, int cropWidth)
- Parameters:
cropDepth
- Amount of cropping to apply to both depth boundaries of the input activationscropHeight
- Amount of cropping to apply to both height boundaries of the input activationscropWidth
- Amount of cropping to apply to both width boundaries of the input activations
-
Builder
public Builder(int cropLeftD, int cropRightD, int cropLeftH, int cropRightH, int cropLeftW, int cropRightW)
- Parameters:
cropLeftD
- Amount of cropping to apply to the left of the depth dimensioncropRightD
- Amount of cropping to apply to the right of the depth dimensioncropLeftH
- Amount of cropping to apply to the left of the height dimensioncropRightH
- Amount of cropping to apply to the right of the height dimensioncropLeftW
- Amount of cropping to apply to the left of the width dimensioncropRightW
- Amount of cropping to apply to the right of the width dimension
-
-
Method Detail
-
setCropping
public void setCropping(int... cropping)
- Parameters:
cropping
- Cropping amount, must be length 1, 3, or 6 array, i.e. either all values, crop depth, crop height, crop width or crop left depth, crop right depth, crop left height, crop right height, crop left width, crop right width
-
build
public Cropping3D build()
- Specified by:
build
in classLayer.Builder<Cropping3D.Builder>
-
-