Class InputType.InputTypeConvolutional

    • Constructor Detail

      • InputTypeConvolutional

        public InputTypeConvolutional​(long height,
                                      long width,
                                      long channels,
                                      CNN2DFormat format)
      • InputTypeConvolutional

        public InputTypeConvolutional​(long height,
                                      long width,
                                      long channels)
    • Method Detail

      • getDepth

        @Deprecated
        public long getDepth()
        Deprecated.
        Return the number of channels / depth for this 2D convolution. This method has been deprecated, for consistency purposes, use getChannels() instead.
        Returns:
        number of channels, i.e. depth for 2D convolutions
      • setDepth

        @Deprecated
        public void setDepth​(long depth)
        Deprecated.
        Set the number of channels / depth for this 2D convolution. This method has been deprecated, for consistency purposes, use setChannels(channels) instead.
      • getShape

        public long[] getShape​(boolean includeBatchDim)
        Description copied from class: InputType
        Returns the shape of this InputType
        Specified by:
        getShape in class InputType
        Parameters:
        includeBatchDim - Whether to include minibatch in the return shape array
        Returns:
        int[]