classe final estática pública DebugTensorWatch.Builder
Option for watching a node in TensorFlow Debugger (tfdbg).Protobuf tipo
tensorflow.DebugTensorWatch
Métodos Públicos
DebugTensorWatch.Builder | addAllDebugOps (valores Iterable<String>) Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | addAllDebugUrls (valores Iterable<String>) URL(s) for debug targets(s). |
DebugTensorWatch.Builder | addDebugOps (valor da string) Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | addDebugOpsBytes (valor com.google.protobuf.ByteString) Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | addDebugUrls (valor da string) URL(s) for debug targets(s). |
DebugTensorWatch.Builder | addDebugUrlsBytes (valor com.google.protobuf.ByteString) URL(s) for debug targets(s). |
DebugTensorWatch.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
DebugTensorWatch | construir () |
DebugTensorWatch | |
DebugTensorWatch.Builder | claro () |
DebugTensorWatch.Builder | limparDebugOps () Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | limparDebugUrls () URL(s) for debug targets(s). |
DebugTensorWatch.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
DebugTensorWatch.Builder | limparNodeNome () Name of the node to watch. |
DebugTensorWatch.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
DebugTensorWatch.Builder | limparOutputSlot () Output slot to watch. |
DebugTensorWatch.Builder | clearTolerateDebugOpCreationFailures () Do not error out if debug op creation fails (e.g., due to dtype incompatibility). |
DebugTensorWatch.Builder | clonar () |
Corda | getDebugOps (índice interno) Name(s) of the debugging op(s). |
com.google.protobuf.ByteString | getDebugOpsBytes (índice interno) Name(s) of the debugging op(s). |
interno | getDebugOpsCount () Name(s) of the debugging op(s). |
com.google.protobuf.ProtocolStringList | getDebugOpsList () Name(s) of the debugging op(s). |
Corda | getDebugUrls (índice interno) URL(s) for debug targets(s). |
com.google.protobuf.ByteString | getDebugUrlsBytes (índice interno) URL(s) for debug targets(s). |
interno | getDebugUrlsCount () URL(s) for debug targets(s). |
com.google.protobuf.ProtocolStringList | getDebugUrlsList () URL(s) for debug targets(s). |
DebugTensorWatch | |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Corda | getNomeNome () Name of the node to watch. |
com.google.protobuf.ByteString | getNodeNameBytes () Name of the node to watch. |
interno | getOutputSlot () Output slot to watch. |
boleano | getTolerateDebugOpCreationFailures () Do not error out if debug op creation fails (e.g., due to dtype incompatibility). |
booleano final | |
DebugTensorWatch.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DebugTensorWatch.Builder | mergeFrom (com.google.protobuf.Message outro) |
DebugTensorWatch.Builder final | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
DebugTensorWatch.Builder | setDebugOps (índice int, valor String) Name(s) of the debugging op(s). |
DebugTensorWatch.Builder | setDebugUrls (índice int, valor String) URL(s) for debug targets(s). |
DebugTensorWatch.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
DebugTensorWatch.Builder | setNodeName (valor da string) Name of the node to watch. |
DebugTensorWatch.Builder | setNodeNameBytes (valor com.google.protobuf.ByteString) Name of the node to watch. |
DebugTensorWatch.Builder | setOutputSlot (valor interno) Output slot to watch. |
DebugTensorWatch.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
DebugTensorWatch.Builder | setTolerateDebugOpCreationFailures (valor booleano) Do not error out if debug op creation fails (e.g., due to dtype incompatibility). |
DebugTensorWatch.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
Métodos herdados
Métodos Públicos
public DebugTensorWatch.Builder addAllDebugOps (valores 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 (valores 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;
público DebugTensorWatch.Builder addDebugOps (valor de 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;
público DebugTensorWatch.Builder addDebugOpsBytes (valor 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;
público DebugTensorWatch.Builder addDebugUrls (valor de 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;
público DebugTensorWatch.Builder addDebugUrlsBytes (valor 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, valor do objeto)
público 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;
público 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;
público 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;
público 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;
string pública getDebugOps (índice 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;
público com.google.protobuf.ByteString getDebugOpsBytes (índice 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;
publicint 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;
público 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;
String pública getDebugUrls (índice 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;
público com.google.protobuf.ByteString getDebugUrlsBytes (índice 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;
publicint 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;
público 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;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
String pública getNodeName ()
Name of the node to watch. Use "*" for wildcard. But note: currently, regex is not supported in general.
string node_name = 1;
público 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;
público 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;
público 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;
público final booleano isInitialized ()
public DebugTensorWatch.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final DebugTensorWatch.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público DebugTensorWatch.Builder setDebugOps (índice int, valor 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;
público DebugTensorWatch.Builder setDebugUrls (índice int, valor 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 setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público DebugTensorWatch.Builder setNodeName (valor da string)
Name of the node to watch. Use "*" for wildcard. But note: currently, regex is not supported in general.
string node_name = 1;
público DebugTensorWatch.Builder setNodeNameBytes (valor 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;
público DebugTensorWatch.Builder setOutputSlot (valor 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, índice int, valor do objeto)
público DebugTensorWatch.Builder setTolerateDebugOpCreationFailures (valor 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;