View Javadoc

1   package yawn.nn;
2   
3   /***
4    * An output layer. Its a tag class made with clarity in mind.
5    * 
6    * <p>$Id: OutputLayer.java,v 1.5 2005/04/20 18:55:17 supermarti Exp $</p>
7    * 
8    * @author Luis Mart&iacute; (luis dot marti at uc3m dot es)
9    * @version $Revision: 1.5 $
10   */
11  public class OutputLayer extends InputLayer {
12  
13      /***
14       * @param inputSize
15       */
16      public OutputLayer(int inputSize) {
17          super(null, inputSize);
18      }
19  
20      /***
21       * @see yawn.nn.Layer#propagateToNextLayer()
22       */
23      public void propagateToNextLayer() {
24          throw new UnsupportedOperationException("Can not propagate to next layer in output layer.");
25      }
26  
27  }