Package org.tensorflow.framework
Class DebugTensorWatch.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
- org.tensorflow.framework.DebugTensorWatch.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,DebugTensorWatchOrBuilder
- Enclosing class:
- DebugTensorWatch
public static final class DebugTensorWatch.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder> implements DebugTensorWatchOrBuilder
EXPERIMENTAL. Option for watching a node.
Protobuf typetensorflow.DebugTensorWatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DebugTensorWatch.BuilderaddAllDebugOps(Iterable<String> values)Name(s) of the debugging op(s).DebugTensorWatch.BuilderaddAllDebugUrls(Iterable<String> values)URL(s) for debug targets(s).DebugTensorWatch.BuilderaddDebugOps(String value)Name(s) of the debugging op(s).DebugTensorWatch.BuilderaddDebugOpsBytes(org.nd4j.shade.protobuf.ByteString value)Name(s) of the debugging op(s).DebugTensorWatch.BuilderaddDebugUrls(String value)URL(s) for debug targets(s).DebugTensorWatch.BuilderaddDebugUrlsBytes(org.nd4j.shade.protobuf.ByteString value)URL(s) for debug targets(s).DebugTensorWatch.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)DebugTensorWatchbuild()DebugTensorWatchbuildPartial()DebugTensorWatch.Builderclear()DebugTensorWatch.BuilderclearDebugOps()Name(s) of the debugging op(s).DebugTensorWatch.BuilderclearDebugUrls()URL(s) for debug targets(s).DebugTensorWatch.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)DebugTensorWatch.BuilderclearNodeName()Name of the node to watch.DebugTensorWatch.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)DebugTensorWatch.BuilderclearOutputSlot()Output slot to watch.DebugTensorWatch.BuilderclearTolerateDebugOpCreationFailures()Do not error out if debug op creation fails (e.g., due to dtype incompatibility).DebugTensorWatch.Builderclone()StringgetDebugOps(int index)Name(s) of the debugging op(s).org.nd4j.shade.protobuf.ByteStringgetDebugOpsBytes(int index)Name(s) of the debugging op(s).intgetDebugOpsCount()Name(s) of the debugging op(s).org.nd4j.shade.protobuf.ProtocolStringListgetDebugOpsList()Name(s) of the debugging op(s).StringgetDebugUrls(int index)URL(s) for debug targets(s).org.nd4j.shade.protobuf.ByteStringgetDebugUrlsBytes(int index)URL(s) for debug targets(s).intgetDebugUrlsCount()URL(s) for debug targets(s).org.nd4j.shade.protobuf.ProtocolStringListgetDebugUrlsList()URL(s) for debug targets(s).DebugTensorWatchgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNodeName()Name of the node to watch.org.nd4j.shade.protobuf.ByteStringgetNodeNameBytes()Name of the node to watch.intgetOutputSlot()Output slot to watch.booleangetTolerateDebugOpCreationFailures()Do not error out if debug op creation fails (e.g., due to dtype incompatibility).protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DebugTensorWatch.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)DebugTensorWatch.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)DebugTensorWatch.BuildermergeFrom(DebugTensorWatch other)DebugTensorWatch.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)DebugTensorWatch.BuildersetDebugOps(int index, String value)Name(s) of the debugging op(s).DebugTensorWatch.BuildersetDebugUrls(int index, String value)URL(s) for debug targets(s).DebugTensorWatch.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)DebugTensorWatch.BuildersetNodeName(String value)Name of the node to watch.DebugTensorWatch.BuildersetNodeNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the node to watch.DebugTensorWatch.BuildersetOutputSlot(int value)Output slot to watch.DebugTensorWatch.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DebugTensorWatch.BuildersetTolerateDebugOpCreationFailures(boolean value)Do not error out if debug op creation fails (e.g., due to dtype incompatibility).DebugTensorWatch.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
clear
public DebugTensorWatch.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
getDefaultInstanceForType
public DebugTensorWatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public DebugTensorWatch build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public DebugTensorWatch buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public DebugTensorWatch.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
setField
public DebugTensorWatch.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
clearField
public DebugTensorWatch.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
clearOneof
public DebugTensorWatch.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
setRepeatedField
public DebugTensorWatch.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
addRepeatedField
public DebugTensorWatch.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
mergeFrom
public DebugTensorWatch.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<DebugTensorWatch.Builder>
-
mergeFrom
public DebugTensorWatch.Builder mergeFrom(DebugTensorWatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
mergeFrom
public DebugTensorWatch.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<DebugTensorWatch.Builder>- Throws:
IOException
-
getNodeName
public String getNodeName()
Name of the node to watch.
string node_name = 1;- Specified by:
getNodeNamein interfaceDebugTensorWatchOrBuilder- Returns:
- The nodeName.
-
getNodeNameBytes
public org.nd4j.shade.protobuf.ByteString getNodeNameBytes()
Name of the node to watch.
string node_name = 1;- Specified by:
getNodeNameBytesin interfaceDebugTensorWatchOrBuilder- Returns:
- The bytes for nodeName.
-
setNodeName
public DebugTensorWatch.Builder setNodeName(String value)
Name of the node to watch.
string node_name = 1;- Parameters:
value- The nodeName to set.- Returns:
- This builder for chaining.
-
clearNodeName
public DebugTensorWatch.Builder clearNodeName()
Name of the node to watch.
string node_name = 1;- Returns:
- This builder for chaining.
-
setNodeNameBytes
public DebugTensorWatch.Builder setNodeNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the node to watch.
string node_name = 1;- Parameters:
value- The bytes for nodeName to set.- Returns:
- This builder for chaining.
-
getOutputSlot
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;- Specified by:
getOutputSlotin interfaceDebugTensorWatchOrBuilder- Returns:
- The outputSlot.
-
setOutputSlot
public 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;- Parameters:
value- The outputSlot to set.- Returns:
- This builder for chaining.
-
clearOutputSlot
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;- Returns:
- This builder for chaining.
-
getDebugOpsList
public 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;- Specified by:
getDebugOpsListin interfaceDebugTensorWatchOrBuilder- Returns:
- A list containing the debugOps.
-
getDebugOpsCount
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;- Specified by:
getDebugOpsCountin interfaceDebugTensorWatchOrBuilder- Returns:
- The count of debugOps.
-
getDebugOps
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;- Specified by:
getDebugOpsin interfaceDebugTensorWatchOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The debugOps at the given index.
-
getDebugOpsBytes
public 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;- Specified by:
getDebugOpsBytesin interfaceDebugTensorWatchOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the debugOps at the given index.
-
setDebugOps
public 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;- Parameters:
index- The index to set the value at.value- The debugOps to set.- Returns:
- This builder for chaining.
-
addDebugOps
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;- Parameters:
value- The debugOps to add.- Returns:
- This builder for chaining.
-
addAllDebugOps
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;- Parameters:
values- The debugOps to add.- Returns:
- This builder for chaining.
-
clearDebugOps
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;- Returns:
- This builder for chaining.
-
addDebugOpsBytes
public DebugTensorWatch.Builder addDebugOpsBytes(org.nd4j.shade.protobuf.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;- Parameters:
value- The bytes of the debugOps to add.- Returns:
- This builder for chaining.
-
getDebugUrlsList
public 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;- Specified by:
getDebugUrlsListin interfaceDebugTensorWatchOrBuilder- Returns:
- A list containing the debugUrls.
-
getDebugUrlsCount
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;- Specified by:
getDebugUrlsCountin interfaceDebugTensorWatchOrBuilder- Returns:
- The count of debugUrls.
-
getDebugUrls
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;- Specified by:
getDebugUrlsin interfaceDebugTensorWatchOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The debugUrls at the given index.
-
getDebugUrlsBytes
public 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;- Specified by:
getDebugUrlsBytesin interfaceDebugTensorWatchOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the debugUrls at the given index.
-
setDebugUrls
public 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;- Parameters:
index- The index to set the value at.value- The debugUrls to set.- Returns:
- This builder for chaining.
-
addDebugUrls
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;- Parameters:
value- The debugUrls to add.- Returns:
- This builder for chaining.
-
addAllDebugUrls
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;- Parameters:
values- The debugUrls to add.- Returns:
- This builder for chaining.
-
clearDebugUrls
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;- Returns:
- This builder for chaining.
-
addDebugUrlsBytes
public DebugTensorWatch.Builder addDebugUrlsBytes(org.nd4j.shade.protobuf.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;- Parameters:
value- The bytes of the debugUrls to add.- Returns:
- This builder for chaining.
-
getTolerateDebugOpCreationFailures
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;- Specified by:
getTolerateDebugOpCreationFailuresin interfaceDebugTensorWatchOrBuilder- Returns:
- The tolerateDebugOpCreationFailures.
-
setTolerateDebugOpCreationFailures
public 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;- Parameters:
value- The tolerateDebugOpCreationFailures to set.- Returns:
- This builder for chaining.
-
clearTolerateDebugOpCreationFailures
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DebugTensorWatch.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
mergeUnknownFields
public final DebugTensorWatch.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugTensorWatch.Builder>
-
-