public final class DebugTensorWatch extends com.github.os72.protobuf351.GeneratedMessageV3 implements DebugTensorWatchOrBuilder
EXPERIMENTAL. Option for watching a node.Protobuf type
tensorflow.DebugTensorWatch
Modifier and Type | Class and Description |
---|---|
static class |
DebugTensorWatch.Builder
EXPERIMENTAL.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.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.github.os72.protobuf351.ByteString |
getDebugOpsBytes(int index)
Name(s) of the debugging op(s).
|
int |
getDebugOpsCount()
Name(s) of the debugging op(s).
|
com.github.os72.protobuf351.ProtocolStringList |
getDebugOpsList()
Name(s) of the debugging op(s).
|
String |
getDebugUrls(int index)
URL(s) for debug targets(s).
|
com.github.os72.protobuf351.ByteString |
getDebugUrlsBytes(int index)
URL(s) for debug targets(s).
|
int |
getDebugUrlsCount()
URL(s) for debug targets(s).
|
com.github.os72.protobuf351.ProtocolStringList |
getDebugUrlsList()
URL(s) for debug targets(s).
|
static DebugTensorWatch |
getDefaultInstance() |
DebugTensorWatch |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getNodeName()
Name of the node to watch.
|
com.github.os72.protobuf351.ByteString |
getNodeNameBytes()
Name of the node to watch.
|
int |
getOutputSlot()
Output slot to watch.
|
com.github.os72.protobuf351.Parser<DebugTensorWatch> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getTolerateDebugOpCreationFailures()
Do not error out if debug op creation fails (e.g., due to dtype
incompatibility).
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DebugTensorWatch.Builder |
newBuilder() |
static DebugTensorWatch.Builder |
newBuilder(DebugTensorWatch prototype) |
DebugTensorWatch.Builder |
newBuilderForType() |
protected DebugTensorWatch.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static DebugTensorWatch |
parseDelimitedFrom(InputStream input) |
static DebugTensorWatch |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(byte[] data) |
static DebugTensorWatch |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(ByteBuffer data) |
static DebugTensorWatch |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static DebugTensorWatch |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static DebugTensorWatch |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(InputStream input) |
static DebugTensorWatch |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<DebugTensorWatch> |
parser() |
DebugTensorWatch.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public String getNodeName()
Name of the node to watch.
string node_name = 1;
getNodeName
in interface DebugTensorWatchOrBuilder
public com.github.os72.protobuf351.ByteString getNodeNameBytes()
Name of the node to watch.
string node_name = 1;
getNodeNameBytes
in interface DebugTensorWatchOrBuilder
public 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 DebugTensorWatchOrBuilder
public com.github.os72.protobuf351.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 DebugTensorWatchOrBuilder
public 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 DebugTensorWatchOrBuilder
public 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 DebugTensorWatchOrBuilder
public com.github.os72.protobuf351.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 DebugTensorWatchOrBuilder
public com.github.os72.protobuf351.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 DebugTensorWatchOrBuilder
public 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 DebugTensorWatchOrBuilder
public 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 DebugTensorWatchOrBuilder
public com.github.os72.protobuf351.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 DebugTensorWatchOrBuilder
public 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 DebugTensorWatchOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static DebugTensorWatch parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DebugTensorWatch parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DebugTensorWatch parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DebugTensorWatch parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DebugTensorWatch parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DebugTensorWatch parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DebugTensorWatch parseFrom(InputStream input) throws IOException
IOException
public static DebugTensorWatch parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DebugTensorWatch parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DebugTensorWatch parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DebugTensorWatch parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static DebugTensorWatch parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DebugTensorWatch.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static DebugTensorWatch.Builder newBuilder()
public static DebugTensorWatch.Builder newBuilder(DebugTensorWatch prototype)
public DebugTensorWatch.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected DebugTensorWatch.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static DebugTensorWatch getDefaultInstance()
public static com.github.os72.protobuf351.Parser<DebugTensorWatch> parser()
public com.github.os72.protobuf351.Parser<DebugTensorWatch> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public DebugTensorWatch getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2019. All rights reserved.