Class Cropping3D.Builder

    • 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 activations
        cropHeight - Amount of cropping to apply to both height boundaries of the input activations
        cropWidth - 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 dimension
        cropRightD - Amount of cropping to apply to the right of the depth dimension
        cropLeftH - Amount of cropping to apply to the left of the height dimension
        cropRightH - Amount of cropping to apply to the right of the height dimension
        cropLeftW - Amount of cropping to apply to the left of the width dimension
        cropRightW - 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