public static class Cropping3D.Builder extends Layer.Builder<Cropping3D.Builder>
allParamConstraints, biasConstraints, iDropout, layerName, weightConstraints
Constructor and Description |
---|
Builder() |
Builder(int[] cropping) |
Builder(int cropDepth,
int cropHeight,
int cropWidth) |
Builder(int cropLeftD,
int cropRightD,
int cropLeftH,
int cropRightH,
int cropLeftW,
int cropRightW) |
Modifier and Type | Method and Description |
---|---|
Cropping3D |
build() |
constrainAllParameters, constrainBias, constrainWeights, dropOut, dropOut, name
public Builder()
public Builder(@NonNull int[] cropping)
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 widthpublic Builder(int cropDepth, int cropHeight, int cropWidth)
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 activationspublic Builder(int cropLeftD, int cropRightD, int cropLeftH, int cropRightH, int cropLeftW, int cropRightW)
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 dimensionpublic Cropping3D build()
build
in class Layer.Builder<Cropping3D.Builder>
Copyright © 2018. All rights reserved.