public final class DebugTensorWatch extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements DebugTensorWatchOrBuilder
EXPERIMENTAL. Option for watching a node.Protobuf type
tensorflow.DebugTensorWatch| Modifier and Type | Class and Description |
|---|---|
static class |
DebugTensorWatch.Builder
EXPERIMENTAL.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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).
|
org.nd4j.shade.protobuf.ByteString |
getDebugOpsBytes(int index)
Name(s) of the debugging op(s).
|
int |
getDebugOpsCount()
Name(s) of the debugging op(s).
|
org.nd4j.shade.protobuf.ProtocolStringList |
getDebugOpsList()
Name(s) of the debugging op(s).
|
String |
getDebugUrls(int index)
URL(s) for debug targets(s).
|
org.nd4j.shade.protobuf.ByteString |
getDebugUrlsBytes(int index)
URL(s) for debug targets(s).
|
int |
getDebugUrlsCount()
URL(s) for debug targets(s).
|
org.nd4j.shade.protobuf.ProtocolStringList |
getDebugUrlsList()
URL(s) for debug targets(s).
|
static DebugTensorWatch |
getDefaultInstance() |
DebugTensorWatch |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNodeName()
Name of the node to watch.
|
org.nd4j.shade.protobuf.ByteString |
getNodeNameBytes()
Name of the node to watch.
|
int |
getOutputSlot()
Output slot to watch.
|
org.nd4j.shade.protobuf.Parser<DebugTensorWatch> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getTolerateDebugOpCreationFailures()
Do not error out if debug op creation fails (e.g., due to dtype
incompatibility).
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DebugTensorWatch.Builder |
newBuilder() |
static DebugTensorWatch.Builder |
newBuilder(DebugTensorWatch prototype) |
DebugTensorWatch.Builder |
newBuilderForType() |
protected DebugTensorWatch.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DebugTensorWatch |
parseDelimitedFrom(InputStream input) |
static DebugTensorWatch |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(byte[] data) |
static DebugTensorWatch |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(ByteBuffer data) |
static DebugTensorWatch |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static DebugTensorWatch |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static DebugTensorWatch |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DebugTensorWatch |
parseFrom(InputStream input) |
static DebugTensorWatch |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<DebugTensorWatch> |
parser() |
DebugTensorWatch.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public String getNodeName()
Name of the node to watch.
string node_name = 1;getNodeName in interface DebugTensorWatchOrBuilderpublic org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static DebugTensorWatch parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DebugTensorWatch parseFrom(InputStream input) throws IOException
IOExceptionpublic static DebugTensorWatch parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DebugTensorWatch parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DebugTensorWatch parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DebugTensorWatch parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DebugTensorWatch parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DebugTensorWatch.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static DebugTensorWatch.Builder newBuilder()
public static DebugTensorWatch.Builder newBuilder(DebugTensorWatch prototype)
public DebugTensorWatch.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected DebugTensorWatch.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static DebugTensorWatch getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<DebugTensorWatch> parser()
public org.nd4j.shade.protobuf.Parser<DebugTensorWatch> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public DebugTensorWatch getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.