Class LayerConfig


  • public class LayerConfig
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LayerConfig​(java.lang.String type, java.lang.String activation, int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Layer buildLayer()
      Builds a layer based on the configuration
      int getSize()  
      java.lang.String getType()  
      void setBiases​(org.jblas.DoubleMatrix biases)  
      void setWeights​(org.jblas.DoubleMatrix weights)  
      • Methods inherited from class java.lang.Object

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

      • LayerConfig

        public LayerConfig​(java.lang.String type,
                           java.lang.String activation,
                           int size)
    • Method Detail

      • getType

        public java.lang.String getType()
      • getSize

        public int getSize()
      • setBiases

        public void setBiases​(org.jblas.DoubleMatrix biases)
      • setWeights

        public void setWeights​(org.jblas.DoubleMatrix weights)
      • buildLayer

        public Layer buildLayer()
        Builds a layer based on the configuration
        Returns:
        the layer