Package deepnetts.core
Class DeepNetts
java.lang.Object
deepnetts.core.DeepNetts
Global configuration and settings for Deep Netts Engine.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidValidates the Deep Netts license.static DeepNettsReturns a singleton instance of a Deep Netts engine.The instance provides global configuration settings for the Deep Netts runtime.intReturns all the configuration properties for Deep Netts.getProperty(String propName) Returns a specified property of the Deep Netts runtime environment.booleanvoidsetMaxThreads(int maxThreads) voidsetUseCuda(boolean useCuda) booleanuseCuda()version()Returns the Deep Netts version.
-
Field Details
-
LOGGER
-
-
Method Details
-
getInstance
Returns a singleton instance of a Deep Netts engine.The instance provides global configuration settings for the Deep Netts runtime.- Returns:
- global instance of a Deep Netts engine
-
getProperty
-
checkLicense
public static void checkLicense()Validates the Deep Netts license.- Throws:
LicenseChecker.LicenceException- if license is not valid.
-
version
-
getProperties
Returns all the configuration properties for Deep Netts.- Returns:
- Deep Netts settings
-
useCuda
public boolean useCuda() -
setUseCuda
public void setUseCuda(boolean useCuda) -
setMaxThreads
public void setMaxThreads(int maxThreads) -
getMaxThreads
public int getMaxThreads() -
isMultithreaded
public boolean isMultithreaded()
-