Class Nd4jBackend


  • public abstract class Nd4jBackend
    extends Object
    • Constructor Detail

      • Nd4jBackend

        public Nd4jBackend()
    • Method Detail

      • allowsOrder

        public abstract boolean allowsOrder()
        Returns true if the backend allows order to be specified on blas operations (cblas)
        Returns:
        true if the backend allows order to be specified on blas operations
      • getPriority

        public abstract int getPriority()
        Gets a priority number for the backend. Backends are loaded in priority order (highest first).
        Returns:
        a priority number.
      • isAvailable

        public abstract boolean isAvailable()
        Determines whether a given backend is available in the current environment.
        Returns:
        true if the backend is available; false otherwise.
      • canRun

        public abstract boolean canRun()
        Returns true if the backend can run on the os or not
        Returns:
      • getConfigurationResource

        public abstract Resource getConfigurationResource()
        Get the configuration resource
        Returns:
      • getNDArrayClass

        public abstract Class getNDArrayClass()
        Get the actual (concrete/implementation) class for standard INDArrays for this backend
      • getEnvironment

        public abstract Environment getEnvironment()
      • buildInfo

        public abstract String buildInfo()
        Get the build information of the backend
      • logBackendInit

        public abstract void logBackendInit()