public static class Cropping1D.Builder extends Layer.Builder<Cropping1D.Builder>
allParamConstraints, biasConstraints, iDropout, layerName, weightConstraints
Constructor and Description |
---|
Builder() |
Builder(int cropTopBottom) |
Builder(@NonNull int[] cropping) |
Builder(int cropTop,
int cropBottom) |
Modifier and Type | Method and Description |
---|---|
Cropping1D |
build() |
void |
setCropping(int... cropping) |
constrainAllParameters, constrainBias, constrainWeights, dropOut, dropOut, name
public Builder()
public Builder(@NonNull @NonNull int[] cropping)
cropping
- Cropping amount for top/bottom (in that order). Must be length 1 or 2 array.public Builder(int cropTopBottom)
cropTopBottom
- Amount of cropping to apply to both the top and the bottom of the input activationspublic Builder(int cropTop, int cropBottom)
cropTop
- Amount of cropping to apply to the top of the input activationscropBottom
- Amount of cropping to apply to the bottom of the input activationspublic void setCropping(int... cropping)
cropping
- Cropping amount for top/bottom (in that order). Must be length 1 or 2 array.public Cropping1D build()
build
in class Layer.Builder<Cropping1D.Builder>
Copyright © 2022. All rights reserved.