public static final class
DebuggedDevice.Builder
A device on which ops and/or tensors are instrumented by the debugger.
tensorflow.DebuggedDevice
Public Methods
DebuggedDevice.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
DebuggedDevice |
build()
|
DebuggedDevice | |
DebuggedDevice.Builder |
clear()
|
DebuggedDevice.Builder |
clearDeviceId()
A debugger-generated ID for the device. |
DebuggedDevice.Builder |
clearDeviceName()
Name of the device. |
DebuggedDevice.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
DebuggedDevice.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
DebuggedDevice.Builder |
clone()
|
DebuggedDevice | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
int |
getDeviceId()
A debugger-generated ID for the device. |
String |
getDeviceName()
Name of the device. |
com.google.protobuf.ByteString |
getDeviceNameBytes()
Name of the device. |
final boolean | |
DebuggedDevice.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
DebuggedDevice.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final DebuggedDevice.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
DebuggedDevice.Builder |
setDeviceId(int value)
A debugger-generated ID for the device. |
DebuggedDevice.Builder |
setDeviceName(String value)
Name of the device. |
DebuggedDevice.Builder |
setDeviceNameBytes(com.google.protobuf.ByteString value)
Name of the device. |
DebuggedDevice.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
DebuggedDevice.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final DebuggedDevice.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public DebuggedDevice.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public DebuggedDevice.Builder clearDeviceId ()
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public 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;
public String getDeviceName ()
Name of the device.
string device_name = 1;
public com.google.protobuf.ByteString getDeviceNameBytes ()
Name of the device.
string device_name = 1;
public final boolean isInitialized ()
public DebuggedDevice.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final DebuggedDevice.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public DebuggedDevice.Builder setDeviceId (int value)
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;
public DebuggedDevice.Builder setDeviceName (String value)
Name of the device.
string device_name = 1;
public DebuggedDevice.Builder setDeviceNameBytes (com.google.protobuf.ByteString value)
Name of the device.
string device_name = 1;