DebugTensorWatch

public final class DebugTensorWatch

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

Nested Classes

class DebugTensorWatch.Builder
 Option for watching a node in TensorFlow Debugger (tfdbg). 

Constants

int DEBUG_OPS_FIELD_NUMBER
int DEBUG_URLS_FIELD_NUMBER
int NODE_NAME_FIELD_NUMBER
int OUTPUT_SLOT_FIELD_NUMBER
int TOLERATE_DEBUG_OP_CREATION_FAILURES_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
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).
static DebugTensorWatch
DebugTensorWatch
final static 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.
int
boolean
getTolerateDebugOpCreationFailures()
 Do not error out if debug op creation fails (e.g., due to dtype
 incompatibility).
final com.google.protobuf.UnknownFieldSet
int
final boolean
static DebugTensorWatch.Builder
static DebugTensorWatch.Builder
DebugTensorWatch.Builder
static DebugTensorWatch
parseDelimitedFrom(InputStream input)
static DebugTensorWatch
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DebugTensorWatch
parseFrom(ByteBuffer data)
static DebugTensorWatch
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DebugTensorWatch
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DebugTensorWatch
parseFrom(com.google.protobuf.CodedInputStream input)
static DebugTensorWatch
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DebugTensorWatch
parseFrom(com.google.protobuf.ByteString data)
static DebugTensorWatch
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DebugTensorWatch
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
DebugTensorWatch.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DEBUG_OPS_FIELD_NUMBER

Constant Value: 3

public static final int DEBUG_URLS_FIELD_NUMBER

Constant Value: 4

public static final int NODE_NAME_FIELD_NUMBER

Constant Value: 1

public static final int OUTPUT_SLOT_FIELD_NUMBER

Constant Value: 2

public static final int TOLERATE_DEBUG_OP_CREATION_FAILURES_FIELD_NUMBER

Constant Value: 5

Public Methods

public boolean equals (Object obj)

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;

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

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;

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

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;

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

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;

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

public static DebugTensorWatch getDefaultInstance ()

public DebugTensorWatch getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String getNodeName ()

 Name of the node to watch.
 Use "*" for wildcard. But note: currently, regex is not supported in
 general.
 
string node_name = 1;

public com.google.protobuf.ByteString getNodeNameBytes ()

 Name of the node to watch.
 Use "*" for wildcard. But note: currently, regex is not supported in
 general.
 
string node_name = 1;

public int getOutputSlot ()

 Output slot to watch.
 The semantics of output_slot == -1 is that all outputs of the node
 will be watched (i.e., a wildcard).
 Other negative values of output_slot are invalid and will lead to
 errors currently.
 
int32 output_slot = 2;

public getParserForType ()

public int getSerializedSize ()

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;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static DebugTensorWatch.Builder newBuilder (DebugTensorWatch prototype)

public static DebugTensorWatch.Builder newBuilder ()

public DebugTensorWatch.Builder newBuilderForType ()

public static DebugTensorWatch parseDelimitedFrom (InputStream input)

Throws
IOException

public static DebugTensorWatch parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DebugTensorWatch parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static DebugTensorWatch parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DebugTensorWatch parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static DebugTensorWatch parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static DebugTensorWatch parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static DebugTensorWatch parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static DebugTensorWatch parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DebugTensorWatch parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public DebugTensorWatch.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException