Package tensorflow

Interface DevicePropertiesProtos.DevicePropertiesOrBuilder

    • Method Detail

      • getType

        String getType()
         Device type (CPU, GPU, ...)
         
        string type = 1;
        Returns:
        The type.
      • getTypeBytes

        org.nd4j.shade.protobuf.ByteString getTypeBytes()
         Device type (CPU, GPU, ...)
         
        string type = 1;
        Returns:
        The bytes for type.
      • getVendor

        String getVendor()
         Vendor (Intel, nvidia, ...)
         
        string vendor = 2;
        Returns:
        The vendor.
      • getVendorBytes

        org.nd4j.shade.protobuf.ByteString getVendorBytes()
         Vendor (Intel, nvidia, ...)
         
        string vendor = 2;
        Returns:
        The bytes for vendor.
      • getModel

        String getModel()
         Model (Haswell, K40, ...)
         
        string model = 3;
        Returns:
        The model.
      • getModelBytes

        org.nd4j.shade.protobuf.ByteString getModelBytes()
         Model (Haswell, K40, ...)
         
        string model = 3;
        Returns:
        The bytes for model.
      • getFrequency

        long getFrequency()
         Core Frequency in Mhz
         
        int64 frequency = 4;
        Returns:
        The frequency.
      • getNumCores

        long getNumCores()
         Number of cores
         
        int64 num_cores = 5;
        Returns:
        The numCores.
      • getEnvironmentCount

        int getEnvironmentCount()
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • containsEnvironment

        boolean containsEnvironment​(String key)
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • getEnvironmentMap

        Map<String,​String> getEnvironmentMap()
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • getEnvironmentOrDefault

        String getEnvironmentOrDefault​(String key,
                                       String defaultValue)
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • getEnvironmentOrThrow

        String getEnvironmentOrThrow​(String key)
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • getNumRegisters

        long getNumRegisters()
         Number of registers per core.
         
        int64 num_registers = 7;
        Returns:
        The numRegisters.
      • getL1CacheSize

        long getL1CacheSize()
         L1 cache size in bytes
         
        int64 l1_cache_size = 8;
        Returns:
        The l1CacheSize.
      • getL2CacheSize

        long getL2CacheSize()
         L2 cache size in bytes
         
        int64 l2_cache_size = 9;
        Returns:
        The l2CacheSize.
      • getL3CacheSize

        long getL3CacheSize()
         L3 cache size in bytes
         
        int64 l3_cache_size = 10;
        Returns:
        The l3CacheSize.
      • getSharedMemorySizePerMultiprocessor

        long getSharedMemorySizePerMultiprocessor()
         Shared memory size per multiprocessor in bytes. This field is
         applicable to GPUs only.
         
        int64 shared_memory_size_per_multiprocessor = 11;
        Returns:
        The sharedMemorySizePerMultiprocessor.
      • getMemorySize

        long getMemorySize()
         Memory size in bytes
         
        int64 memory_size = 12;
        Returns:
        The memorySize.
      • getBandwidth

        long getBandwidth()
         Memory bandwidth in KB/s
         
        int64 bandwidth = 13;
        Returns:
        The bandwidth.