Package org.platanios.tensorflow.proto
Interface DebuggedDeviceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DebuggedDevice
,DebuggedDevice.Builder
public interface DebuggedDeviceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDeviceId()
A debugger-generated ID for the device.java.lang.String
getDeviceName()
Name of the device.com.google.protobuf.ByteString
getDeviceNameBytes()
Name of the device.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDeviceName
java.lang.String getDeviceName()
Name of the device.
string device_name = 1;
- Returns:
- The deviceName.
-
getDeviceNameBytes
com.google.protobuf.ByteString getDeviceNameBytes()
Name of the device.
string device_name = 1;
- Returns:
- The bytes for deviceName.
-
getDeviceId
int getDeviceId()
A debugger-generated ID for the device. Guaranteed to be unique within the scope of the debugged TensorFlow program, including single-host and multi-host settings. TODO(cais): Test the uniqueness guarantee in multi-host settings.
int32 device_id = 2;
- Returns:
- The deviceId.
-
-