public static final class DebugTensorWatch.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder> implements DebugTensorWatchOrBuilder
EXPERIMENTAL. Option for watching a node.Protobuf type
tensorflow.DebugTensorWatch| Modifier and Type | Method and Description |
|---|---|
DebugTensorWatch.Builder |
addAllDebugOps(Iterable<String> values)
Name(s) of the debugging op(s).
|
DebugTensorWatch.Builder |
addAllDebugUrls(Iterable<String> values)
URL(s) for debug targets(s).
|
DebugTensorWatch.Builder |
addDebugOps(String value)
Name(s) of the debugging op(s).
|
DebugTensorWatch.Builder |
addDebugOpsBytes(com.github.os72.protobuf351.ByteString value)
Name(s) of the debugging op(s).
|
DebugTensorWatch.Builder |
addDebugUrls(String value)
URL(s) for debug targets(s).
|
DebugTensorWatch.Builder |
addDebugUrlsBytes(com.github.os72.protobuf351.ByteString value)
URL(s) for debug targets(s).
|
DebugTensorWatch.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
DebugTensorWatch |
build() |
DebugTensorWatch |
buildPartial() |
DebugTensorWatch.Builder |
clear() |
DebugTensorWatch.Builder |
clearDebugOps()
Name(s) of the debugging op(s).
|
DebugTensorWatch.Builder |
clearDebugUrls()
URL(s) for debug targets(s).
|
DebugTensorWatch.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
DebugTensorWatch.Builder |
clearNodeName()
Name of the node to watch.
|
DebugTensorWatch.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
DebugTensorWatch.Builder |
clearOutputSlot()
Output slot to watch.
|
DebugTensorWatch.Builder |
clearTolerateDebugOpCreationFailures()
Do not error out if debug op creation fails (e.g., due to dtype
incompatibility).
|
DebugTensorWatch.Builder |
clone() |
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).
|
DebugTensorWatch |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
boolean |
getTolerateDebugOpCreationFailures()
Do not error out if debug op creation fails (e.g., due to dtype
incompatibility).
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DebugTensorWatch.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
DebugTensorWatch.Builder |
mergeFrom(DebugTensorWatch other) |
DebugTensorWatch.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
DebugTensorWatch.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
DebugTensorWatch.Builder |
setDebugOps(int index,
String value)
Name(s) of the debugging op(s).
|
DebugTensorWatch.Builder |
setDebugUrls(int index,
String value)
URL(s) for debug targets(s).
|
DebugTensorWatch.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
DebugTensorWatch.Builder |
setNodeName(String value)
Name of the node to watch.
|
DebugTensorWatch.Builder |
setNodeNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the node to watch.
|
DebugTensorWatch.Builder |
setOutputSlot(int value)
Output slot to watch.
|
DebugTensorWatch.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
DebugTensorWatch.Builder |
setTolerateDebugOpCreationFailures(boolean value)
Do not error out if debug op creation fails (e.g., due to dtype
incompatibility).
|
DebugTensorWatch.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public DebugTensorWatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic DebugTensorWatch build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic DebugTensorWatch buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic DebugTensorWatch.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder mergeFrom(DebugTensorWatch other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public DebugTensorWatch.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<DebugTensorWatch.Builder>IOExceptionpublic String getNodeName()
Name of the node to watch.
string node_name = 1;getNodeName in interface DebugTensorWatchOrBuilderpublic com.github.os72.protobuf351.ByteString getNodeNameBytes()
Name of the node to watch.
string node_name = 1;getNodeNameBytes in interface DebugTensorWatchOrBuilderpublic DebugTensorWatch.Builder setNodeName(String value)
Name of the node to watch.
string node_name = 1;public DebugTensorWatch.Builder clearNodeName()
Name of the node to watch.
string node_name = 1;public DebugTensorWatch.Builder setNodeNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the node to watch.
string node_name = 1;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 DebugTensorWatchOrBuilderpublic DebugTensorWatch.Builder setOutputSlot(int value)
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;public DebugTensorWatch.Builder clearOutputSlot()
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;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 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.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 DebugTensorWatchOrBuilderpublic DebugTensorWatch.Builder setDebugOps(int index, String value)
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;public DebugTensorWatch.Builder addDebugOps(String value)
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;public DebugTensorWatch.Builder addAllDebugOps(Iterable<String> values)
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;public DebugTensorWatch.Builder clearDebugOps()
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;public DebugTensorWatch.Builder addDebugOpsBytes(com.github.os72.protobuf351.ByteString value)
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;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 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.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 DebugTensorWatchOrBuilderpublic DebugTensorWatch.Builder setDebugUrls(int index, String value)
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;public DebugTensorWatch.Builder addDebugUrls(String value)
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;public DebugTensorWatch.Builder addAllDebugUrls(Iterable<String> values)
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;public DebugTensorWatch.Builder clearDebugUrls()
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;public DebugTensorWatch.Builder addDebugUrlsBytes(com.github.os72.protobuf351.ByteString value)
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;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 DebugTensorWatchOrBuilderpublic DebugTensorWatch.Builder setTolerateDebugOpCreationFailures(boolean value)
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;public DebugTensorWatch.Builder clearTolerateDebugOpCreationFailures()
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;public final DebugTensorWatch.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>public final DebugTensorWatch.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>Copyright © 2018. All rights reserved.