Package org.tensorflow.framework
Interface DeviceLocalityOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeviceLocality,DeviceLocality.Builder
public interface DeviceLocalityOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBusId()Optional bus locality of device.LocalLinksgetLinks()Optional local interconnect links to other devices.LocalLinksOrBuildergetLinksOrBuilder()Optional local interconnect links to other devices.intgetNumaNode()Optional NUMA locality of device.booleanhasLinks()Optional local interconnect links to other devices.-
Methods inherited from interface org.nd4j.shade.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.
.tensorflow.LocalLinks links = 3;- Returns:
- Whether the links field is set.
-
getLinks
LocalLinks getLinks()
Optional local interconnect links to other devices.
.tensorflow.LocalLinks links = 3;- Returns:
- The links.
-
getLinksOrBuilder
LocalLinksOrBuilder getLinksOrBuilder()
Optional local interconnect links to other devices.
.tensorflow.LocalLinks links = 3;
-
-