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;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
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);
}
@java.lang.Override
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;
if (!getNodeName()
.equals(other.getNodeName())) return false;
if (getOutputSlot()
!= other.getOutputSlot()) return false;
if (!getDebugOpsList()
.equals(other.getDebugOpsList())) return false;
if (!getDebugUrlsList()
.equals(other.getDebugUrlsList())) return false;
if (getTolerateDebugOpCreationFailures()
!= other.getTolerateDebugOpCreationFailures()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@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);
}
@java.lang.Override
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);
}
@java.lang.Override
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;
}
/**
*
*
* 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.
*