Documentation of 'org.neuroph.nnet.comp.Kernel' Java class
Kernel
org.neuroph.nnet.comp

Class Kernel

  • All Implemented Interfaces:
    java.io.Serializable


    public class Kernel
    extends java.lang.Object
    implements java.io.Serializable
    Kernel used in convolution networks. Kernel is (width x height) window sliding over 2D input space. Each window position provides (width x height) inputs for the neurons in next layer.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Kernel(Dimension2D dimension)
      Creates new kernel with specified width and height
      Kernel(int width, int height)
      Creates new kernel with specified width and height
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getArea()
      Returns area of this kernel (width*height)
      int getHeight()
      Returns height of this kernel
      Weight[][] getWeights() 
      int getWidth()
      Returns width of this kernel
      void initWeights(double min, double max) 
      void setHeight(int height)
      Sets height of this kernel
      void setWeights(Weight[][] weights) 
      void setWidth(int width)
      Sets width of this kernel
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Kernel

        public Kernel(Dimension2D dimension)
        Creates new kernel with specified width and height
        Parameters:
        width - kernel width
        height - kernel height
      • Kernel

        public Kernel(int width,
                      int height)
        Creates new kernel with specified width and height
        Parameters:
        width - kernel width
        height - kernel height
    • Method Detail

      • getWidth

        public int getWidth()
        Returns width of this kernel
        Returns:
        width of this kernel
      • setWidth

        public void setWidth(int width)
        Sets width of this kernel
        Parameters:
        width - kernel width
      • getHeight

        public int getHeight()
        Returns height of this kernel
        Returns:
        height of this kernel
      • setHeight

        public void setHeight(int height)
        Sets height of this kernel
        Parameters:
        height - kernel height
      • getArea

        public int getArea()
        Returns area of this kernel (width*height)
        Returns:
        area of this kernel
      • getWeights

        public Weight[][] getWeights()
      • setWeights

        public void setWeights(Weight[][] weights)
      • initWeights

        public void initWeights(double min,
                                double max)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.