Interface DeviceAttributesOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DeviceAttributes, DeviceAttributes.Builder

    public interface DeviceAttributesOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDeviceType()
      String representation of device_type.
      com.google.protobuf.ByteString getDeviceTypeBytes()
      String representation of device_type.
      long getIncarnation()
      A device is assigned a global unique number each time it is initialized.
      DeviceLocality getLocality()
      Platform-specific data about device that may be useful for supporting efficient data transfers.
      DeviceLocalityOrBuilder getLocalityOrBuilder()
      Platform-specific data about device that may be useful for supporting efficient data transfers.
      long getMemoryLimit()
      Memory capacity of device in bytes.
      java.lang.String getName()
      Fully specified name of the device within a cluster.
      com.google.protobuf.ByteString getNameBytes()
      Fully specified name of the device within a cluster.
      java.lang.String getPhysicalDeviceDesc()
      String representation of the physical device that this device maps to.
      com.google.protobuf.ByteString getPhysicalDeviceDescBytes()
      String representation of the physical device that this device maps to.
      boolean hasLocality()
      Platform-specific data about device that may be useful for supporting efficient data transfers.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        java.lang.String getName()
         Fully specified name of the device within a cluster.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Fully specified name of the device within a cluster.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDeviceType

        java.lang.String getDeviceType()
         String representation of device_type.
         
        string device_type = 2;
        Returns:
        The deviceType.
      • getDeviceTypeBytes

        com.google.protobuf.ByteString getDeviceTypeBytes()
         String representation of device_type.
         
        string device_type = 2;
        Returns:
        The bytes for deviceType.
      • getMemoryLimit

        long getMemoryLimit()
         Memory capacity of device in bytes.
         
        int64 memory_limit = 4;
        Returns:
        The memoryLimit.
      • hasLocality

        boolean hasLocality()
         Platform-specific data about device that may be useful
         for supporting efficient data transfers.
         
        .org.platanios.tensorflow.proto.DeviceLocality locality = 5;
        Returns:
        Whether the locality field is set.
      • getLocality

        DeviceLocality getLocality()
         Platform-specific data about device that may be useful
         for supporting efficient data transfers.
         
        .org.platanios.tensorflow.proto.DeviceLocality locality = 5;
        Returns:
        The locality.
      • getLocalityOrBuilder

        DeviceLocalityOrBuilder getLocalityOrBuilder()
         Platform-specific data about device that may be useful
         for supporting efficient data transfers.
         
        .org.platanios.tensorflow.proto.DeviceLocality locality = 5;
      • getIncarnation

        long getIncarnation()
         A device is assigned a global unique number each time it is
         initialized. "incarnation" should never be 0.
         
        fixed64 incarnation = 6;
        Returns:
        The incarnation.
      • getPhysicalDeviceDesc

        java.lang.String getPhysicalDeviceDesc()
         String representation of the physical device that this device maps to.
         
        string physical_device_desc = 7;
        Returns:
        The physicalDeviceDesc.
      • getPhysicalDeviceDescBytes

        com.google.protobuf.ByteString getPhysicalDeviceDescBytes()
         String representation of the physical device that this device maps to.
         
        string physical_device_desc = 7;
        Returns:
        The bytes for physicalDeviceDesc.