Class Upsampling2D.Builder

    • Constructor Detail

      • Builder

        public Builder​(int size)
    • Method Detail

      • dataFormat

        public Upsampling2D.Builder dataFormat​(CNN2DFormat format)
        Set the data format for the CNN activations - NCHW (channels first) or NHWC (channels last). See CNN2DFormat for more details.
        Default: NCHW
        Parameters:
        format - Format for activations (in and out)
      • size

        public Upsampling2D.Builder size​(int size)
        Upsampling size int, used for both height and width
        Parameters:
        size - upsampling size in height and width dimensions
      • size

        public Upsampling2D.Builder size​(int[] size)
        Upsampling size array
        Parameters:
        size - upsampling size in height and width dimensions
      • setSize

        public void setSize​(int... size)