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 void
Validates the Deep Netts license.static DeepNetts
Returns a singleton instance of a Deep Netts engine.The instance provides global configuration settings for the Deep Netts runtime.int
Returns all the configuration properties for Deep Netts.getProperty
(String propName) Returns a specified property of the Deep Netts runtime environment.boolean
void
setMaxThreads
(int maxThreads) void
setUseCuda
(boolean useCuda) boolean
useCuda()
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()
-