org.tensorflow.framework.DebugTensorWatchOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/debug.proto
package org.tensorflow.framework;
public interface DebugTensorWatchOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.DebugTensorWatch)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* Name of the node to watch.
*
*
* string node_name = 1;
* @return The nodeName.
*/
java.lang.String getNodeName();
/**
*
* Name of the node to watch.
*
*
* string node_name = 1;
* @return The bytes for nodeName.
*/
org.nd4j.shade.protobuf.ByteString
getNodeNameBytes();
/**
*
* 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;
* @return The outputSlot.
*/
int getOutputSlot();
/**
*
* 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;
* @return A list containing the debugOps.
*/
java.util.List
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;
* @return The count of debugOps.
*/
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;
* @param index The index of the element to return.
* @return The debugOps at the given index.
*/
java.lang.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;
* @param index The index of the value to return.
* @return The bytes of the debugOps at the given index.
*/
org.nd4j.shade.protobuf.ByteString
getDebugOpsBytes(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;
* @return A list containing the debugUrls.
*/
java.util.List
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;
* @return The count of debugUrls.
*/
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;
* @param index The index of the element to return.
* @return The debugUrls at the given index.
*/
java.lang.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;
* @param index The index of the value to return.
* @return The bytes of the debugUrls at the given index.
*/
org.nd4j.shade.protobuf.ByteString
getDebugUrlsBytes(int index);
/**
*
* 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;
* @return The tolerateDebugOpCreationFailures.
*/
boolean getTolerateDebugOpCreationFailures();
}