Package com.greentea.relaxation.jnmf.lib.functions

Examples of com.greentea.relaxation.jnmf.lib.functions.ConstFunction


   public void addNeuronShift(int layerIndex, IFunction weightGenerator)
   {
      int prevLayerIndex = layerIndex - 1;
      Layer prevLayer = network.getLayers().get(prevLayerIndex);

      Neuron shiftNeuron = new Neuron(new ConstFunction(1));
      prevLayer.getNeurons().add(shiftNeuron);
      int shiftNeuronIndex = prevLayer.getNeurons().size() - 1;

      Layer layer = network.getLayers().get(layerIndex);
View Full Code Here

TOP

Related Classes of com.greentea.relaxation.jnmf.lib.functions.ConstFunction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.