Package org.encog.engine.network.flat

Examples of org.encog.engine.network.flat.FlatLayer


    FlatLayer[] flatLayers = new FlatLayer[network.getLayers().size()];

    int index = 0;

    for (Layer layer : network.getLayers()) {
      FlatLayer flatLayer = flattenLayer(layer);
      if (flatLayer == null)
        return false;
      flatLayers[index++] = flatLayer;
    }
View Full Code Here


    if (biasCount > 1)
      return null;

    double[] params = { slope };
    return new FlatLayer(activation, neuronCount, biasCount == 1 ? 1.0:0.0, params);
  }
View Full Code Here

TOP

Related Classes of org.encog.engine.network.flat.FlatLayer

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.