Package org.encog.plugins.opencl

Examples of org.encog.plugins.opencl.EncogOpenCLPlugin


    return result;
  }

  public static void main(String[] args) {
   
    Encog.getInstance().registerPlugin(new EncogOpenCLPlugin());

    // initialize input and output values
    double[][] input = generate(ROW_COUNT, INPUT_COUNT);
    double[][] output = generate(ROW_COUNT, OUTPUT_COUNT);
    List<Long> previous = new ArrayList<Long>();
View Full Code Here


   * The main method.
   * @param args No arguments are used.
   */
  public static void main(final String args[]) {
   
    Encog.getInstance().registerPlugin(new EncogOpenCLPlugin());
   
    // create a neural network, without using a factory
    BasicNetwork network = new BasicNetwork();
    network.addLayer(new BasicLayer(null,false,2));
    network.addLayer(new BasicLayer(new ActivationSigmoid(),true,3));
View Full Code Here

TOP

Related Classes of org.encog.plugins.opencl.EncogOpenCLPlugin

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.