Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
*
* string node_name = 1;
*/
public org.nd4j.shade.protobuf.ByteString
getNodeNameBytes() {
java.lang.Object ref = nodeName_;
if (ref instanceof java.lang.String) {
org.nd4j.shade.protobuf.ByteString b =
org.nd4j.shade.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nodeName_ = b;
return b;
} else {
return (org.nd4j.shade.protobuf.ByteString) ref;
}
}
public static final int OUTPUT_SLOT_FIELD_NUMBER = 2;
private int outputSlot_;
/**
*
* 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;
*/
public int getOutputSlot() {
return outputSlot_;
}
public static final int DEBUG_OPS_FIELD_NUMBER = 3;
private org.nd4j.shade.protobuf.LazyStringList debugOps_;
/**
*
* Name(s) of the debugging op(s).
* One or more than one probes on a tensor.
* e.g., {"DebugIdentity", "DebugNanCount"}
*
* 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 org.nd4j.shade.protobuf.ByteString
getDebugOpsBytes(int index) {
return debugOps_.getByteString(index);
}
public static final int DEBUG_URLS_FIELD_NUMBER = 4;
private org.nd4j.shade.protobuf.LazyStringList debugUrls_;
/**
*
* 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.
*
* 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() {
return debugUrls_.size();
}
/**
*
* 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.
*
* 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 org.nd4j.shade.protobuf.ByteString
getDebugUrlsBytes(int index) {
return debugUrls_.getByteString(index);
}
public static final int TOLERATE_DEBUG_OP_CREATION_FAILURES_FIELD_NUMBER = 5;
private boolean tolerateDebugOpCreationFailures_;
/**
*
* 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 boolean getTolerateDebugOpCreationFailures() {
return tolerateDebugOpCreationFailures_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNodeNameBytes().isEmpty()) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 1, nodeName_);
}
if (outputSlot_ != 0) {
output.writeInt32(2, outputSlot_);
}
for (int i = 0; i < debugOps_.size(); i++) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 3, debugOps_.getRaw(i));
}
for (int i = 0; i < debugUrls_.size(); i++) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 4, debugUrls_.getRaw(i));
}
if (tolerateDebugOpCreationFailures_ != false) {
output.writeBool(5, tolerateDebugOpCreationFailures_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNodeNameBytes().isEmpty()) {
size += org.nd4j.shade.protobuf.GeneratedMessageV3.computeStringSize(1, nodeName_);
}
if (outputSlot_ != 0) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeInt32Size(2, outputSlot_);
}
{
int dataSize = 0;
for (int i = 0; i < debugOps_.size(); i++) {
dataSize += computeStringSizeNoTag(debugOps_.getRaw(i));
}
size += dataSize;
size += 1 * getDebugOpsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < debugUrls_.size(); i++) {
dataSize += computeStringSizeNoTag(debugUrls_.getRaw(i));
}
size += dataSize;
size += 1 * getDebugUrlsList().size();
}
if (tolerateDebugOpCreationFailures_ != false) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeBoolSize(5, tolerateDebugOpCreationFailures_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.tensorflow.framework.DebugTensorWatch)) {
return super.equals(obj);
}
org.tensorflow.framework.DebugTensorWatch other = (org.tensorflow.framework.DebugTensorWatch) obj;
boolean result = true;
result = result && getNodeName()
.equals(other.getNodeName());
result = result && (getOutputSlot()
== other.getOutputSlot());
result = result && getDebugOpsList()
.equals(other.getDebugOpsList());
result = result && getDebugUrlsList()
.equals(other.getDebugUrlsList());
result = result && (getTolerateDebugOpCreationFailures()
== other.getTolerateDebugOpCreationFailures());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NODE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getNodeName().hashCode();
hash = (37 * hash) + OUTPUT_SLOT_FIELD_NUMBER;
hash = (53 * hash) + getOutputSlot();
if (getDebugOpsCount() > 0) {
hash = (37 * hash) + DEBUG_OPS_FIELD_NUMBER;
hash = (53 * hash) + getDebugOpsList().hashCode();
}
if (getDebugUrlsCount() > 0) {
hash = (37 * hash) + DEBUG_URLS_FIELD_NUMBER;
hash = (53 * hash) + getDebugUrlsList().hashCode();
}
hash = (37 * hash) + TOLERATE_DEBUG_OP_CREATION_FAILURES_FIELD_NUMBER;
hash = (53 * hash) + org.nd4j.shade.protobuf.Internal.hashBoolean(
getTolerateDebugOpCreationFailures());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(
java.nio.ByteBuffer data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(
java.nio.ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(
org.nd4j.shade.protobuf.ByteString data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(
org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(byte[] data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(
byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(
java.io.InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.tensorflow.framework.DebugTensorWatch parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.tensorflow.framework.DebugTensorWatch parseDelimitedFrom(
java.io.InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(
org.nd4j.shade.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.framework.DebugTensorWatch parseFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.tensorflow.framework.DebugTensorWatch prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* EXPERIMENTAL. Option for watching a node.
*
*
* Protobuf type {@code tensorflow.DebugTensorWatch}
*/
public static final class Builder extends
org.nd4j.shade.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tensorflow.DebugTensorWatch)
org.tensorflow.framework.DebugTensorWatchOrBuilder {
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.framework.DebugProtos.internal_static_tensorflow_DebugTensorWatch_descriptor;
}
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.framework.DebugProtos.internal_static_tensorflow_DebugTensorWatch_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.framework.DebugTensorWatch.class, org.tensorflow.framework.DebugTensorWatch.Builder.class);
}
// Construct using org.tensorflow.framework.DebugTensorWatch.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.nd4j.shade.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
nodeName_ = "";
outputSlot_ = 0;
debugOps_ = org.nd4j.shade.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
debugUrls_ = org.nd4j.shade.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
tolerateDebugOpCreationFailures_ = false;
return this;
}
public org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.tensorflow.framework.DebugProtos.internal_static_tensorflow_DebugTensorWatch_descriptor;
}
public org.tensorflow.framework.DebugTensorWatch getDefaultInstanceForType() {
return org.tensorflow.framework.DebugTensorWatch.getDefaultInstance();
}
public org.tensorflow.framework.DebugTensorWatch build() {
org.tensorflow.framework.DebugTensorWatch result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.tensorflow.framework.DebugTensorWatch buildPartial() {
org.tensorflow.framework.DebugTensorWatch result = new org.tensorflow.framework.DebugTensorWatch(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.nodeName_ = nodeName_;
result.outputSlot_ = outputSlot_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
debugOps_ = debugOps_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.debugOps_ = debugOps_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
debugUrls_ = debugUrls_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.debugUrls_ = debugUrls_;
result.tolerateDebugOpCreationFailures_ = tolerateDebugOpCreationFailures_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.nd4j.shade.protobuf.Message other) {
if (other instanceof org.tensorflow.framework.DebugTensorWatch) {
return mergeFrom((org.tensorflow.framework.DebugTensorWatch)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.tensorflow.framework.DebugTensorWatch other) {
if (other == org.tensorflow.framework.DebugTensorWatch.getDefaultInstance()) return this;
if (!other.getNodeName().isEmpty()) {
nodeName_ = other.nodeName_;
onChanged();
}
if (other.getOutputSlot() != 0) {
setOutputSlot(other.getOutputSlot());
}
if (!other.debugOps_.isEmpty()) {
if (debugOps_.isEmpty()) {
debugOps_ = other.debugOps_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDebugOpsIsMutable();
debugOps_.addAll(other.debugOps_);
}
onChanged();
}
if (!other.debugUrls_.isEmpty()) {
if (debugUrls_.isEmpty()) {
debugUrls_ = other.debugUrls_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureDebugUrlsIsMutable();
debugUrls_.addAll(other.debugUrls_);
}
onChanged();
}
if (other.getTolerateDebugOpCreationFailures() != false) {
setTolerateDebugOpCreationFailures(other.getTolerateDebugOpCreationFailures());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.tensorflow.framework.DebugTensorWatch parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.tensorflow.framework.DebugTensorWatch) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object nodeName_ = "";
/**
*
*
* string node_name = 1;
*/
public Builder setNodeNameBytes(
org.nd4j.shade.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
nodeName_ = value;
onChanged();
return this;
}
private int outputSlot_ ;
/**
*
* 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;
*/
public int getOutputSlot() {
return outputSlot_;
}
/**
*
* 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.
*
* 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.
*
* 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.
*
* 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() {
return debugUrls_.size();
}
/**
*
* 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.
*
* 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.
*
* 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 Builder setDebugUrls(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDebugUrlsIsMutable();
debugUrls_.set(index, value);
onChanged();
return this;
}
/**
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*