org.encog.engine.network.flat
Class ValidateForOpenCL

java.lang.Object
  extended by org.encog.engine.validate.BasicMachineLearningValidate
      extended by org.encog.engine.network.flat.ValidateForOpenCL
All Implemented Interfaces:
ValidateMachineLearning

public class ValidateForOpenCL
extends BasicMachineLearningValidate

Validate the network to be sure it can run on OpenCL.


Constructor Summary
ValidateForOpenCL()
           
 
Method Summary
 String isValid(EngineMachineLearning network)
          Determine if the network is valid for OpenCL.
 
Methods inherited from class org.encog.engine.validate.BasicMachineLearningValidate
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidateForOpenCL

public ValidateForOpenCL()
Method Detail

isValid

public String isValid(EngineMachineLearning network)
Determine if the network is valid for OpenCL.

Parameters:
network - The network to check.
Returns:
The string indicating the error that prevents OpenCL from using the network, or null if the network is fine for OpenCL.


Copyright © 2011. All Rights Reserved.