Have a question? Connect with the community at the TensorFlow Forum Visit Forum

DebugTensorWatch.Builder

public static final class DebugTensorWatch.Builder

 Option for watching a node in TensorFlow Debugger (tfdbg).
 
Protobuf type tensorflow.DebugTensorWatch

Public Methods

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.google.protobuf.ByteString value)
 Name(s) of the debugging op(s).
DebugTensorWatch.Builder
addDebugUrls (String value)
 URL(s) for debug targets(s).
DebugTensorWatch.Builder
addDebugUrlsBytes (com.google.protobuf.ByteString value)
 URL(s) for debug targets(s).
DebugTensorWatch.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DebugTensorWatch
DebugTensorWatch
DebugTensorWatch.Builder
DebugTensorWatch.Builder
clearDebugOps ()
 Name(s) of the debugging op(s).
DebugTensorWatch.Builder
clearDebugUrls ()
 URL(s) for debug targets(s).
DebugTensorWatch.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
DebugTensorWatch.Builder
clearNodeName ()
 Name of the node to watch.
DebugTensorWatch.Builder
clearOneof (com.google.protobuf.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
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).
DebugTensorWatch
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.
boolean
getTolerateDebugOpCreationFailures ()
 Do not error out if debug op creation fails (e.g., due to dtype
 incompatibility).
final boolean
DebugTensorWatch.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DebugTensorWatch.Builder
mergeFrom (com.google.protobuf.Message other)
final DebugTensorWatch.Builder
mergeUnknownFields (com.google.protobuf.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.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DebugTensorWatch.Builder
setNodeName (String value)
 Name of the node to watch.
DebugTensorWatch.Builder
setNodeNameBytes (com.google.protobuf.ByteString value)
 Name of the node to watch.
DebugTensorWatch.Builder
setOutputSlot (int value)
 Output slot to watch.
DebugTensorWatch.Builder
setRepeatedField (com.google.protobuf.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).
final DebugTensorWatch.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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 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 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 addDebugOpsBytes (com.google.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;

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 addDebugUrlsBytes (com.google.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;

public DebugTensorWatch.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public DebugTensorWatch build ()

public DebugTensorWatch buildPartial ()

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 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 clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public DebugTensorWatch.Builder clearNodeName ()