classe finale statica pubblica DebugTensorWatch.Builder
Option for watching a node in TensorFlow Debugger (tfdbg).Tipo di protocollo
tensorflow.DebugTensorWatch
Metodi pubblici
DebugTensorWatch.Builder | addAllDebugOps (valori Iterable<String>) Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | addAllDebugUrls (valori Iterable<String>) URL(s) for debug targets(s). |
DebugTensorWatch.Builder | addDebugOps (valore stringa) Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | addDebugOpsBytes (valore com.google.protobuf.ByteString) Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | addDebugUrls (valore stringa) URL(s) for debug targets(s). |
DebugTensorWatch.Builder | addDebugUrlsBytes (valore com.google.protobuf.ByteString) URL(s) for debug targets(s). |
DebugTensorWatch.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
DebugTensorWatch | costruire () |
DebugTensorWatch | buildPartial () |
DebugTensorWatch.Builder | chiaro () |
DebugTensorWatch.Builder | clearDebugOps () Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | clearDebugUrl () URL(s) for debug targets(s). |
DebugTensorWatch.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
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 | clone () |
Corda | getDebugOps (indice int) Name(s) of the debugging op(s). |
com.google.protobuf.ByteString | getDebugOpsBytes (indice int) 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). |
Corda | getDebugUrls (indice int) URL(s) for debug targets(s). |
com.google.protobuf.ByteString | getDebugUrlsBytes (indice int) 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 | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
Corda | getNodeNome () Name of the node to watch. |
com.google.protobuf.ByteString | getNomeNomeBytes () Name of the node to watch. |
int | getOutputSlot () Output slot to watch. |
booleano | getTolerateDebugOpCreationFailures () Do not error out if debug op creation fails (e.g., due to dtype incompatibility). |
booleano finale | |
DebugTensorWatch.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
DebugTensorWatch.Builder | mergeFrom (com.google.protobuf.Message altro) |
finale DebugTensorWatch.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
DebugTensorWatch.Builder | setDebugOps (indice int, valore stringa) Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | setDebugUrls (indice int, valore stringa) URL(s) for debug targets(s). |
DebugTensorWatch.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
DebugTensorWatch.Builder | setNodeName (valore stringa) Name of the node to watch. |
DebugTensorWatch.Builder | setNodeNameBytes (valore com.google.protobuf.ByteString) Name of the node to watch. |
DebugTensorWatch.Builder | setOutputSlot (valore int) Output slot to watch. |
DebugTensorWatch.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
DebugTensorWatch.Builder | setTolerateDebugOpCreationFailures (valore booleano) Do not error out if debug op creation fails (e.g., due to dtype incompatibility). |
finale DebugTensorWatch.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public DebugTensorWatch.Builder addAllDebugOps (valori Iterable<String>)
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 (valori Iterable<String>)
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 (valore stringa)
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 (valore com.google.protobuf.ByteString)
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 (valore stringa)
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 (valore com.google.protobuf.ByteString)
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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
pubblico 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;
pubblico 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 clearNodeName ()
Name of the node to watch. Use "*" for wildcard. But note: currently, regex is not supported in general.
string node_name = 1;
pubblico DebugTensorWatch.Builder clearOutputSlot ()
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 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 String getDebugOps (indice int)
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;
pubblico com.google.protobuf.ByteString getDebugOpsBytes (indice int)
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;
pubblico 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 (indice int)
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;
pubblico com.google.protobuf.ByteString getDebugUrlsBytes (indice int)
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;
pubblico 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 final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
stringa pubblica getNodeName ()
Name of the node to watch. Use "*" for wildcard. But note: currently, regex is not supported in general.
string node_name = 1;
pubblico 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;
pubblico booleano 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 booleano isInitialized ()
public DebugTensorWatch.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final DebugTensorWatch.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public DebugTensorWatch.Builder setDebugOps (indice int, valore stringa)
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 setDebugUrls (indice int, valore stringa)
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 setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public DebugTensorWatch.Builder setNodeName (valore stringa)
Name of the node to watch. Use "*" for wildcard. But note: currently, regex is not supported in general.
string node_name = 1;
public DebugTensorWatch.Builder setNodeNameBytes (valore com.google.protobuf.ByteString)
Name of the node to watch. Use "*" for wildcard. But note: currently, regex is not supported in general.
string node_name = 1;
public DebugTensorWatch.Builder setOutputSlot (valore int)
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 DebugTensorWatch.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
public DebugTensorWatch.Builder setTolerateDebugOpCreationFailures (valore booleano)
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;