Interface DeviceAttributesOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
DeviceAttributes, DeviceAttributes.Builder

public interface DeviceAttributesOrBuilder extends MessageOrBuilder
  • Method Details

    • getName

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

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

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

      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.
      
      .tensorflow.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.
      
      .tensorflow.DeviceLocality locality = 5;
      Returns:
      The locality.
    • getLocalityOrBuilder

      DeviceLocalityOrBuilder getLocalityOrBuilder()
      Platform-specific data about device that may be useful
      for supporting efficient data transfers.
      
      .tensorflow.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

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

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

      long getXlaGlobalId()
      A physical device ID for use in XLA DeviceAssignments, unique across
      clients in a multi-client setup. Set to -1 if unavailable, non-negative
      otherwise.
      
      int64 xla_global_id = 8;
      Returns:
      The xlaGlobalId.