Class Subsampling3DLayer.BaseSubsamplingBuilder<T extends Subsampling3DLayer.BaseSubsamplingBuilder<T>>

    • Field Detail

      • kernelSize

        protected int[] kernelSize
      • stride

        protected int[] stride
      • padding

        protected int[] padding
      • dilation

        protected int[] dilation
      • cudnnAllowFallback

        protected boolean cudnnAllowFallback
        When using CuDNN and an error is encountered, should fallback to the non-CuDNN implementatation be allowed? If set to false, an exception in CuDNN will be propagated back to the user. If false, the built-in (non-CuDNN) implementation for ConvolutionLayer will be used
    • Constructor Detail

      • BaseSubsamplingBuilder

        protected BaseSubsamplingBuilder​(Subsampling3DLayer.PoolingType poolingType,
                                         int[] kernelSize,
                                         int[] stride,
                                         int[] padding)
      • BaseSubsamplingBuilder

        protected BaseSubsamplingBuilder​(PoolingType poolingType,
                                         int[] kernelSize)
      • BaseSubsamplingBuilder

        protected BaseSubsamplingBuilder​(PoolingType poolingType,
                                         int[] kernelSize,
                                         int[] stride,
                                         int[] padding)
      • BaseSubsamplingBuilder

        protected BaseSubsamplingBuilder​(int[] kernelSize,
                                         int[] stride,
                                         int[] padding)
      • BaseSubsamplingBuilder

        protected BaseSubsamplingBuilder​(int[] kernelSize,
                                         int[] stride)
      • BaseSubsamplingBuilder

        protected BaseSubsamplingBuilder​(int... kernelSize)
      • BaseSubsamplingBuilder

        protected BaseSubsamplingBuilder​(PoolingType poolingType)
    • Method Detail

      • setDilation

        public void setDilation​(int... dilation)
      • setConvolutionMode

        protected void setConvolutionMode​(ConvolutionMode convolutionMode)
      • convolutionMode

        public T convolutionMode​(ConvolutionMode convolutionMode)
        Set the convolution mode for the Convolution layer. See ConvolutionMode for more details
        Parameters:
        convolutionMode - Convolution mode for layer
      • poolingType

        public T poolingType​(PoolingType poolingType)
      • dilation

        public T dilation​(int dDepth,
                          int dHeight,
                          int dWidth)
      • cudnnAllowFallback

        @Deprecated
        public T cudnnAllowFallback​(boolean allowFallback)
        When using CuDNN and an error is encountered, should fallback to the non-CuDNN implementatation be allowed? If set to false, an exception in CuDNN will be propagated back to the user. If true, the built-in (non-CuDNN) implementation for ConvolutionLayer will be used
        Parameters:
        allowFallback - Whether fallback to non-CuDNN implementation should be used
      • helperAllowFallback

        public T helperAllowFallback​(boolean allowFallback)
        When using CuDNN or MKLDNN and an error is encountered, should fallback to the non-helper implementation be allowed? If set to false, an exception in the helper will be propagated back to the user. If true, the built-in (non-MKL/CuDNN) implementation for Subsampling3DLayer will be used
        Parameters:
        allowFallback - Whether fallback to non-CuDNN implementation should be used