Class DeepNetts
java.lang.Object
deepnetts.core.DeepNetts
Global configuration and settings for Deep Netts Engine.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.booleanbooleanvoidsetDebugMode(boolean debugMode) voidsetMaxThreads(int maxThreads) voidsetUseCuda(boolean useCuda) voidsetUseVectorAPI(boolean useVectorAPI) booleanuseCuda()booleanversion()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
-
version
-
getProperties
Returns all the configuration properties for Deep Netts.- Returns:
- Deep Netts settings
-
useCuda
public boolean useCuda() -
setUseCuda
public void setUseCuda(boolean useCuda) -
useVectorAPI
public boolean useVectorAPI() -
setUseVectorAPI
public void setUseVectorAPI(boolean useVectorAPI) -
setMaxThreads
public void setMaxThreads(int maxThreads) -
getMaxThreads
public int getMaxThreads() -
isMultithreaded
public boolean isMultithreaded() -
isDebugMode
public boolean isDebugMode() -
setDebugMode
public void setDebugMode(boolean debugMode)
-