Class DeepNetts

java.lang.Object
deepnetts.core.DeepNetts

public final class DeepNetts extends Object
Global configuration and settings for Deep Netts Engine.
  • Field Details

    • LOGGER

      public static final Logger LOGGER
  • Method Details

    • getInstance

      public static DeepNetts 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

      public String getProperty(String propName)
      Returns a specified property of the Deep Netts runtime environment.
      Parameters:
      propName - name of the property
      Returns:
      property of the Deep Netts runtime
    • version

      public String version()
      Returns the Deep Netts version.
      Returns:
    • getProperties

      public Properties 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)