org.encog.engine.network.flat
Class ValidateForOpenCL
java.lang.Object
org.encog.engine.validate.BasicMachineLearningValidate
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidateForOpenCL
public ValidateForOpenCL()
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.