public final class DebugTensorWatch extends com.google.protobuf.GeneratedMessageV3 implements DebugTensorWatchOrBuilder
Option for watching a node in TensorFlow Debugger (tfdbg).Protobuf type
tensorflow.DebugTensorWatch| Modifier and Type | Class and Description |
|---|---|
static class |
DebugTensorWatch.Builder
Option for watching a node in TensorFlow Debugger (tfdbg).
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG_OPS_FIELD_NUMBER |
static int |
DEBUG_URLS_FIELD_NUMBER |
static int |
NODE_NAME_FIELD_NUMBER |
static int |
OUTPUT_SLOT_FIELD_NUMBER |
static int |
TOLERATE_DEBUG_OP_CREATION_FAILURES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDebugOps(int index)
Name(s) of the debugging op(s).
|
com.google.protobuf.ByteString |
getDebugOpsBytes(int index)
Name(s) of the debugging op(s).
|
int |
getDebugOpsCount()
Name(s) of the debugging op(s).
|
com.google.protobuf.ProtocolStringList |
getDebugOpsList()
Name(s) of the debugging op(s).
|
String |
getDebugUrls(int index)
URL(s) for debug targets(s).
|
com.google.protobuf.ByteString |
getDebugUrlsBytes(int index)
URL(s) for debug targets(s).
|
int |
getDebugUrlsCount()
URL(s) for debug targets(s).
|
com.google.protobuf.ProtocolStringList |
getDebugUrlsList()
URL(s) for debug targets(s).
|
static DebugTensorWatch |
getDefaultInstance() |
DebugTensorWatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNodeName()
Name of the node to watch.
|
com.google.protobuf.ByteString |
getNodeNameBytes()
Name of the node to watch.
|
int |
getOutputSlot()
Output slot to watch.
|
com.google.protobuf.Parser<DebugTensorWatch> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getTolerateDebugOpCreationFailures()
Do not error out if debug op creation fails (e.g., due to dtype
incompatibility).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DebugTensorWatch.Builder |
newBuilder() |
static DebugTensorWatch.Builder |
newBuilder(DebugTensorWatch prototype) |
DebugTensorWatch.Builder |
newBuilderForType() |
protected DebugTensorWatch.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static DebugTensorWatch |
parseDelimitedFrom(InputStream input) |
static DebugTensorWatch |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(byte[] data) |
static DebugTensorWatch |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(ByteBuffer data) |
static DebugTensorWatch |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(com.google.protobuf.ByteString data) |
static DebugTensorWatch |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DebugTensorWatch |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(InputStream input) |
static DebugTensorWatch |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DebugTensorWatch> |
parser() |
DebugTensorWatch.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NODE_NAME_FIELD_NUMBER
public static final int OUTPUT_SLOT_FIELD_NUMBER
public static final int DEBUG_OPS_FIELD_NUMBER
public static final int DEBUG_URLS_FIELD_NUMBER
public static final int TOLERATE_DEBUG_OP_CREATION_FAILURES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getNodeName()
Name of the node to watch.
string node_name = 1;getNodeName in interface DebugTensorWatchOrBuilderpublic com.google.protobuf.ByteString getNodeNameBytes()
Name of the node to watch.
string node_name = 1;getNodeNameBytes in interface DebugTensorWatchOrBuilderpublic int getOutputSlot()
Output slot to watch. The semantics of output_slot == -1 is that the node is only watched for completion, but not for any output tensors. See NodeCompletionCallback in debug_gateway.h. TODO(cais): Implement this semantics.
int32 output_slot = 2;getOutputSlot in interface DebugTensorWatchOrBuilderpublic com.google.protobuf.ProtocolStringList getDebugOpsList()
Name(s) of the debugging op(s).
One or more than one probes on a tensor.
e.g., {"DebugIdentity", "DebugNanCount"}
repeated string debug_ops = 3;getDebugOpsList in interface DebugTensorWatchOrBuilderpublic int getDebugOpsCount()
Name(s) of the debugging op(s).
One or more than one probes on a tensor.
e.g., {"DebugIdentity", "DebugNanCount"}
repeated string debug_ops = 3;getDebugOpsCount in interface DebugTensorWatchOrBuilderpublic String getDebugOps(int index)
Name(s) of the debugging op(s).
One or more than one probes on a tensor.
e.g., {"DebugIdentity", "DebugNanCount"}
repeated string debug_ops = 3;getDebugOps in interface DebugTensorWatchOrBuilderpublic com.google.protobuf.ByteString getDebugOpsBytes(int index)
Name(s) of the debugging op(s).
One or more than one probes on a tensor.
e.g., {"DebugIdentity", "DebugNanCount"}
repeated string debug_ops = 3;getDebugOpsBytes in interface DebugTensorWatchOrBuilderpublic com.google.protobuf.ProtocolStringList getDebugUrlsList()
URL(s) for debug targets(s).
Supported URL formats are:
- file:///foo/tfdbg_dump: Writes out Event content to file
/foo/tfdbg_dump. Assumes all directories can be created if they don't
already exist.
- grpc://localhost:11011: Sends an RPC request to an EventListener
service running at localhost:11011 with the event.
- memcbk:///event_key: Routes tensors to clients using the
callback registered with the DebugCallbackRegistry for event_key.
Each debug op listed in debug_ops will publish its output tensor (debug
signal) to all URLs in debug_urls.
N.B. Session::Run() supports concurrent invocations of the same inputs
(feed keys), outputs and target nodes. If such concurrent invocations
are to be debugged, the callers of Session::Run() must use distinct
debug_urls to make sure that the streamed or dumped events do not overlap
among the invocations.
TODO(cais): More visible documentation of this in g3docs.
repeated string debug_urls = 4;getDebugUrlsList in interface DebugTensorWatchOrBuilderpublic int getDebugUrlsCount()
URL(s) for debug targets(s).
Supported URL formats are:
- file:///foo/tfdbg_dump: Writes out Event content to file
/foo/tfdbg_dump. Assumes all directories can be created if they don't
already exist.
- grpc://localhost:11011: Sends an RPC request to an EventListener
service running at localhost:11011 with the event.
- memcbk:///event_key: Routes tensors to clients using the
callback registered with the DebugCallbackRegistry for event_key.
Each debug op listed in debug_ops will publish its output tensor (debug
signal) to all URLs in debug_urls.
N.B. Session::Run() supports concurrent invocations of the same inputs
(feed keys), outputs and target nodes. If such concurrent invocations
are to be debugged, the callers of Session::Run() must use distinct
debug_urls to make sure that the streamed or dumped events do not overlap
among the invocations.
TODO(cais): More visible documentation of this in g3docs.
repeated string debug_urls = 4;getDebugUrlsCount in interface DebugTensorWatchOrBuilderpublic String getDebugUrls(int index)
URL(s) for debug targets(s).
Supported URL formats are:
- file:///foo/tfdbg_dump: Writes out Event content to file
/foo/tfdbg_dump. Assumes all directories can be created if they don't
already exist.
- grpc://localhost:11011: Sends an RPC request to an EventListener
service running at localhost:11011 with the event.
- memcbk:///event_key: Routes tensors to clients using the
callback registered with the DebugCallbackRegistry for event_key.
Each debug op listed in debug_ops will publish its output tensor (debug
signal) to all URLs in debug_urls.
N.B. Session::Run() supports concurrent invocations of the same inputs
(feed keys), outputs and target nodes. If such concurrent invocations
are to be debugged, the callers of Session::Run() must use distinct
debug_urls to make sure that the streamed or dumped events do not overlap
among the invocations.
TODO(cais): More visible documentation of this in g3docs.
repeated string debug_urls = 4;getDebugUrls in interface DebugTensorWatchOrBuilderpublic com.google.protobuf.ByteString getDebugUrlsBytes(int index)
URL(s) for debug targets(s).
Supported URL formats are:
- file:///foo/tfdbg_dump: Writes out Event content to file
/foo/tfdbg_dump. Assumes all directories can be created if they don't
already exist.
- grpc://localhost:11011: Sends an RPC request to an EventListener
service running at localhost:11011 with the event.
- memcbk:///event_key: Routes tensors to clients using the
callback registered with the DebugCallbackRegistry for event_key.
Each debug op listed in debug_ops will publish its output tensor (debug
signal) to all URLs in debug_urls.
N.B. Session::Run() supports concurrent invocations of the same inputs
(feed keys), outputs and target nodes. If such concurrent invocations
are to be debugged, the callers of Session::Run() must use distinct
debug_urls to make sure that the streamed or dumped events do not overlap
among the invocations.
TODO(cais): More visible documentation of this in g3docs.
repeated string debug_urls = 4;getDebugUrlsBytes in interface DebugTensorWatchOrBuilderpublic boolean getTolerateDebugOpCreationFailures()
Do not error out if debug op creation fails (e.g., due to dtype incompatibility). Instead, just log the failure.
bool tolerate_debug_op_creation_failures = 5;getTolerateDebugOpCreationFailures in interface DebugTensorWatchOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DebugTensorWatch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(InputStream input) throws IOException
IOExceptionpublic static DebugTensorWatch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DebugTensorWatch parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DebugTensorWatch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DebugTensorWatch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DebugTensorWatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DebugTensorWatch.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DebugTensorWatch.Builder newBuilder()
public static DebugTensorWatch.Builder newBuilder(DebugTensorWatch prototype)
public DebugTensorWatch.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DebugTensorWatch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DebugTensorWatch getDefaultInstance()
public static com.google.protobuf.Parser<DebugTensorWatch> parser()
public com.google.protobuf.Parser<DebugTensorWatch> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DebugTensorWatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2019. All rights reserved.