Package org.platanios.tensorflow.proto
Interface DeviceLocalityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeviceLocality
,DeviceLocality.Builder
public interface DeviceLocalityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getBusId()
Optional bus locality of device.LocalLinks
getLinks()
Optional local interconnect links to other devices.LocalLinksOrBuilder
getLinksOrBuilder()
Optional local interconnect links to other devices.int
getNumaNode()
Optional NUMA locality of device.boolean
hasLinks()
Optional local interconnect links to other devices.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBusId
int getBusId()
Optional bus locality of device. Default value of 0 means no specific locality. Specific localities are indexed from 1.
int32 bus_id = 1;
- Returns:
- The busId.
-
getNumaNode
int getNumaNode()
Optional NUMA locality of device.
int32 numa_node = 2;
- Returns:
- The numaNode.
-
hasLinks
boolean hasLinks()
Optional local interconnect links to other devices.
.org.platanios.tensorflow.proto.LocalLinks links = 3;
- Returns:
- Whether the links field is set.
-
getLinks
LocalLinks getLinks()
Optional local interconnect links to other devices.
.org.platanios.tensorflow.proto.LocalLinks links = 3;
- Returns:
- The links.
-
getLinksOrBuilder
LocalLinksOrBuilder getLinksOrBuilder()
Optional local interconnect links to other devices.
.org.platanios.tensorflow.proto.LocalLinks links = 3;
-
-