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.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/remote_fused_graph_execute_info.proto
package org.tensorflow.framework;
/**
*
* Protocol buffer representing a handle to a tensorflow resource. Handles are
* not valid across executions, but can be serialized back and forth from within
* a single run.
*
*
* Protobuf type {@code tensorflow.RemoteFusedGraphExecuteInfo}
*/
public final class RemoteFusedGraphExecuteInfo extends
org.nd4j.shade.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tensorflow.RemoteFusedGraphExecuteInfo)
RemoteFusedGraphExecuteInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoteFusedGraphExecuteInfo.newBuilder() to construct.
private RemoteFusedGraphExecuteInfo(org.nd4j.shade.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RemoteFusedGraphExecuteInfo() {
graphInputNodeName_ = org.nd4j.shade.protobuf.LazyStringArrayList.EMPTY;
graphOutputNodeName_ = org.nd4j.shade.protobuf.LazyStringArrayList.EMPTY;
executorName_ = "";
serializedExecutorParameters_ = org.nd4j.shade.protobuf.ByteString.EMPTY;
defaultGraphInputTensorShape_ = java.util.Collections.emptyList();
defaultGraphOutputTensorShape_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RemoteFusedGraphExecuteInfo(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.nd4j.shade.protobuf.UnknownFieldSet.Builder unknownFields =
org.nd4j.shade.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.tensorflow.framework.GraphDef.Builder subBuilder = null;
if (remoteGraph_ != null) {
subBuilder = remoteGraph_.toBuilder();
}
remoteGraph_ = input.readMessage(org.tensorflow.framework.GraphDef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(remoteGraph_);
remoteGraph_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
graphInputNodeName_ = new org.nd4j.shade.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
graphInputNodeName_.add(s);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
graphOutputNodeName_ = new org.nd4j.shade.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
graphOutputNodeName_.add(s);
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
executorName_ = s;
break;
}
case 42: {
serializedExecutorParameters_ = input.readBytes();
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
defaultGraphInputTensorShape_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
defaultGraphInputTensorShape_.add(
input.readMessage(org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.parser(), extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
defaultGraphOutputTensorShape_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
defaultGraphOutputTensorShape_.add(
input.readMessage(org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.parser(), extensionRegistry));
break;
}
}
}
} catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.nd4j.shade.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
graphInputNodeName_ = graphInputNodeName_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
graphOutputNodeName_ = graphOutputNodeName_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
defaultGraphInputTensorShape_ = java.util.Collections.unmodifiableList(defaultGraphInputTensorShape_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
defaultGraphOutputTensorShape_ = java.util.Collections.unmodifiableList(defaultGraphOutputTensorShape_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.framework.RemoteFusedGraphExecuteInfoProto.internal_static_tensorflow_RemoteFusedGraphExecuteInfo_descriptor;
}
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.framework.RemoteFusedGraphExecuteInfoProto.internal_static_tensorflow_RemoteFusedGraphExecuteInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.class, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.Builder.class);
}
public interface TensorShapeTypeProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
* .tensorflow.DataType dtype = 1;
*/
int getDtypeValue();
/**
* .tensorflow.DataType dtype = 1;
*/
org.tensorflow.framework.DataType getDtype();
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
boolean hasShape();
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
org.tensorflow.framework.TensorShapeProto getShape();
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
org.tensorflow.framework.TensorShapeProtoOrBuilder getShapeOrBuilder();
}
/**
* Protobuf type {@code tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto}
*/
public static final class TensorShapeTypeProto extends
org.nd4j.shade.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto)
TensorShapeTypeProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use TensorShapeTypeProto.newBuilder() to construct.
private TensorShapeTypeProto(org.nd4j.shade.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TensorShapeTypeProto() {
dtype_ = 0;
}
@java.lang.Override
public final org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TensorShapeTypeProto(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.nd4j.shade.protobuf.UnknownFieldSet.Builder unknownFields =
org.nd4j.shade.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
dtype_ = rawValue;
break;
}
case 18: {
org.tensorflow.framework.TensorShapeProto.Builder subBuilder = null;
if (shape_ != null) {
subBuilder = shape_.toBuilder();
}
shape_ = input.readMessage(org.tensorflow.framework.TensorShapeProto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(shape_);
shape_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.nd4j.shade.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.framework.RemoteFusedGraphExecuteInfoProto.internal_static_tensorflow_RemoteFusedGraphExecuteInfo_TensorShapeTypeProto_descriptor;
}
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.framework.RemoteFusedGraphExecuteInfoProto.internal_static_tensorflow_RemoteFusedGraphExecuteInfo_TensorShapeTypeProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.class, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder.class);
}
public static final int DTYPE_FIELD_NUMBER = 1;
private int dtype_;
/**
* .tensorflow.DataType dtype = 1;
*/
public int getDtypeValue() {
return dtype_;
}
/**
* .tensorflow.DataType dtype = 1;
*/
public org.tensorflow.framework.DataType getDtype() {
org.tensorflow.framework.DataType result = org.tensorflow.framework.DataType.valueOf(dtype_);
return result == null ? org.tensorflow.framework.DataType.UNRECOGNIZED : result;
}
public static final int SHAPE_FIELD_NUMBER = 2;
private org.tensorflow.framework.TensorShapeProto shape_;
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public boolean hasShape() {
return shape_ != null;
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public org.tensorflow.framework.TensorShapeProto getShape() {
return shape_ == null ? org.tensorflow.framework.TensorShapeProto.getDefaultInstance() : shape_;
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public org.tensorflow.framework.TensorShapeProtoOrBuilder getShapeOrBuilder() {
return getShape();
}
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 (dtype_ != org.tensorflow.framework.DataType.DT_INVALID.getNumber()) {
output.writeEnum(1, dtype_);
}
if (shape_ != null) {
output.writeMessage(2, getShape());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (dtype_ != org.tensorflow.framework.DataType.DT_INVALID.getNumber()) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeEnumSize(1, dtype_);
}
if (shape_ != null) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeMessageSize(2, getShape());
}
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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto)) {
return super.equals(obj);
}
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto other = (org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto) obj;
boolean result = true;
result = result && dtype_ == other.dtype_;
result = result && (hasShape() == other.hasShape());
if (hasShape()) {
result = result && getShape()
.equals(other.getShape());
}
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) + DTYPE_FIELD_NUMBER;
hash = (53 * hash) + dtype_;
if (hasShape()) {
hash = (37 * hash) + SHAPE_FIELD_NUMBER;
hash = (53 * hash) + getShape().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto parseFrom(
java.nio.ByteBuffer data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto 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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto parseFrom(
org.nd4j.shade.protobuf.ByteString data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto 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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto parseFrom(byte[] data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto 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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto 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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto 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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto 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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto 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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto 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;
}
/**
* Protobuf type {@code tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto}
*/
public static final class Builder extends
org.nd4j.shade.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto)
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProtoOrBuilder {
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.framework.RemoteFusedGraphExecuteInfoProto.internal_static_tensorflow_RemoteFusedGraphExecuteInfo_TensorShapeTypeProto_descriptor;
}
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.framework.RemoteFusedGraphExecuteInfoProto.internal_static_tensorflow_RemoteFusedGraphExecuteInfo_TensorShapeTypeProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.class, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder.class);
}
// Construct using org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.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();
dtype_ = 0;
if (shapeBuilder_ == null) {
shape_ = null;
} else {
shape_ = null;
shapeBuilder_ = null;
}
return this;
}
public org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.tensorflow.framework.RemoteFusedGraphExecuteInfoProto.internal_static_tensorflow_RemoteFusedGraphExecuteInfo_TensorShapeTypeProto_descriptor;
}
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto getDefaultInstanceForType() {
return org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.getDefaultInstance();
}
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto build() {
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto buildPartial() {
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto result = new org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto(this);
result.dtype_ = dtype_;
if (shapeBuilder_ == null) {
result.shape_ = shape_;
} else {
result.shape_ = shapeBuilder_.build();
}
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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto) {
return mergeFrom((org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto other) {
if (other == org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.getDefaultInstance()) return this;
if (other.dtype_ != 0) {
setDtypeValue(other.getDtypeValue());
}
if (other.hasShape()) {
mergeShape(other.getShape());
}
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.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int dtype_ = 0;
/**
* .tensorflow.DataType dtype = 1;
*/
public int getDtypeValue() {
return dtype_;
}
/**
* .tensorflow.DataType dtype = 1;
*/
public Builder setDtypeValue(int value) {
dtype_ = value;
onChanged();
return this;
}
/**
* .tensorflow.DataType dtype = 1;
*/
public org.tensorflow.framework.DataType getDtype() {
org.tensorflow.framework.DataType result = org.tensorflow.framework.DataType.valueOf(dtype_);
return result == null ? org.tensorflow.framework.DataType.UNRECOGNIZED : result;
}
/**
* .tensorflow.DataType dtype = 1;
*/
public Builder setDtype(org.tensorflow.framework.DataType value) {
if (value == null) {
throw new NullPointerException();
}
dtype_ = value.getNumber();
onChanged();
return this;
}
/**
* .tensorflow.DataType dtype = 1;
*/
public Builder clearDtype() {
dtype_ = 0;
onChanged();
return this;
}
private org.tensorflow.framework.TensorShapeProto shape_ = null;
private org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.tensorflow.framework.TensorShapeProto, org.tensorflow.framework.TensorShapeProto.Builder, org.tensorflow.framework.TensorShapeProtoOrBuilder> shapeBuilder_;
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public boolean hasShape() {
return shapeBuilder_ != null || shape_ != null;
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public org.tensorflow.framework.TensorShapeProto getShape() {
if (shapeBuilder_ == null) {
return shape_ == null ? org.tensorflow.framework.TensorShapeProto.getDefaultInstance() : shape_;
} else {
return shapeBuilder_.getMessage();
}
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public Builder setShape(org.tensorflow.framework.TensorShapeProto value) {
if (shapeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
shape_ = value;
onChanged();
} else {
shapeBuilder_.setMessage(value);
}
return this;
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public Builder setShape(
org.tensorflow.framework.TensorShapeProto.Builder builderForValue) {
if (shapeBuilder_ == null) {
shape_ = builderForValue.build();
onChanged();
} else {
shapeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public Builder mergeShape(org.tensorflow.framework.TensorShapeProto value) {
if (shapeBuilder_ == null) {
if (shape_ != null) {
shape_ =
org.tensorflow.framework.TensorShapeProto.newBuilder(shape_).mergeFrom(value).buildPartial();
} else {
shape_ = value;
}
onChanged();
} else {
shapeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public Builder clearShape() {
if (shapeBuilder_ == null) {
shape_ = null;
onChanged();
} else {
shape_ = null;
shapeBuilder_ = null;
}
return this;
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public org.tensorflow.framework.TensorShapeProto.Builder getShapeBuilder() {
onChanged();
return getShapeFieldBuilder().getBuilder();
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
public org.tensorflow.framework.TensorShapeProtoOrBuilder getShapeOrBuilder() {
if (shapeBuilder_ != null) {
return shapeBuilder_.getMessageOrBuilder();
} else {
return shape_ == null ?
org.tensorflow.framework.TensorShapeProto.getDefaultInstance() : shape_;
}
}
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
private org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.tensorflow.framework.TensorShapeProto, org.tensorflow.framework.TensorShapeProto.Builder, org.tensorflow.framework.TensorShapeProtoOrBuilder>
getShapeFieldBuilder() {
if (shapeBuilder_ == null) {
shapeBuilder_ = new org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.tensorflow.framework.TensorShapeProto, org.tensorflow.framework.TensorShapeProto.Builder, org.tensorflow.framework.TensorShapeProtoOrBuilder>(
getShape(),
getParentForChildren(),
isClean());
shape_ = null;
}
return shapeBuilder_;
}
public final Builder setUnknownFields(
final org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto)
}
// @@protoc_insertion_point(class_scope:tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto)
private static final org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto();
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.nd4j.shade.protobuf.Parser
PARSER = new org.nd4j.shade.protobuf.AbstractParser() {
public TensorShapeTypeProto parsePartialFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return new TensorShapeTypeProto(input, extensionRegistry);
}
};
public static org.nd4j.shade.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.nd4j.shade.protobuf.Parser getParserForType() {
return PARSER;
}
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int REMOTE_GRAPH_FIELD_NUMBER = 1;
private org.tensorflow.framework.GraphDef remoteGraph_;
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
*/
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProtoOrBuilder getDefaultGraphInputTensorShapeOrBuilder(
int index) {
return defaultGraphInputTensorShape_.get(index);
}
public static final int DEFAULT_GRAPH_OUTPUT_TENSOR_SHAPE_FIELD_NUMBER = 7;
private java.util.List defaultGraphOutputTensorShape_;
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public int getDefaultGraphOutputTensorShapeCount() {
return defaultGraphOutputTensorShape_.size();
}
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProtoOrBuilder getDefaultGraphOutputTensorShapeOrBuilder(
int index) {
return defaultGraphOutputTensorShape_.get(index);
}
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 (remoteGraph_ != null) {
output.writeMessage(1, getRemoteGraph());
}
for (int i = 0; i < graphInputNodeName_.size(); i++) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 2, graphInputNodeName_.getRaw(i));
}
for (int i = 0; i < graphOutputNodeName_.size(); i++) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 3, graphOutputNodeName_.getRaw(i));
}
if (!getExecutorNameBytes().isEmpty()) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 4, executorName_);
}
if (!serializedExecutorParameters_.isEmpty()) {
output.writeBytes(5, serializedExecutorParameters_);
}
for (int i = 0; i < defaultGraphInputTensorShape_.size(); i++) {
output.writeMessage(6, defaultGraphInputTensorShape_.get(i));
}
for (int i = 0; i < defaultGraphOutputTensorShape_.size(); i++) {
output.writeMessage(7, defaultGraphOutputTensorShape_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (remoteGraph_ != null) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeMessageSize(1, getRemoteGraph());
}
{
int dataSize = 0;
for (int i = 0; i < graphInputNodeName_.size(); i++) {
dataSize += computeStringSizeNoTag(graphInputNodeName_.getRaw(i));
}
size += dataSize;
size += 1 * getGraphInputNodeNameList().size();
}
{
int dataSize = 0;
for (int i = 0; i < graphOutputNodeName_.size(); i++) {
dataSize += computeStringSizeNoTag(graphOutputNodeName_.getRaw(i));
}
size += dataSize;
size += 1 * getGraphOutputNodeNameList().size();
}
if (!getExecutorNameBytes().isEmpty()) {
size += org.nd4j.shade.protobuf.GeneratedMessageV3.computeStringSize(4, executorName_);
}
if (!serializedExecutorParameters_.isEmpty()) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeBytesSize(5, serializedExecutorParameters_);
}
for (int i = 0; i < defaultGraphInputTensorShape_.size(); i++) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeMessageSize(6, defaultGraphInputTensorShape_.get(i));
}
for (int i = 0; i < defaultGraphOutputTensorShape_.size(); i++) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeMessageSize(7, defaultGraphOutputTensorShape_.get(i));
}
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.RemoteFusedGraphExecuteInfo)) {
return super.equals(obj);
}
org.tensorflow.framework.RemoteFusedGraphExecuteInfo other = (org.tensorflow.framework.RemoteFusedGraphExecuteInfo) obj;
boolean result = true;
result = result && (hasRemoteGraph() == other.hasRemoteGraph());
if (hasRemoteGraph()) {
result = result && getRemoteGraph()
.equals(other.getRemoteGraph());
}
result = result && getGraphInputNodeNameList()
.equals(other.getGraphInputNodeNameList());
result = result && getGraphOutputNodeNameList()
.equals(other.getGraphOutputNodeNameList());
result = result && getExecutorName()
.equals(other.getExecutorName());
result = result && getSerializedExecutorParameters()
.equals(other.getSerializedExecutorParameters());
result = result && getDefaultGraphInputTensorShapeList()
.equals(other.getDefaultGraphInputTensorShapeList());
result = result && getDefaultGraphOutputTensorShapeList()
.equals(other.getDefaultGraphOutputTensorShapeList());
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();
if (hasRemoteGraph()) {
hash = (37 * hash) + REMOTE_GRAPH_FIELD_NUMBER;
hash = (53 * hash) + getRemoteGraph().hashCode();
}
if (getGraphInputNodeNameCount() > 0) {
hash = (37 * hash) + GRAPH_INPUT_NODE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getGraphInputNodeNameList().hashCode();
}
if (getGraphOutputNodeNameCount() > 0) {
hash = (37 * hash) + GRAPH_OUTPUT_NODE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getGraphOutputNodeNameList().hashCode();
}
hash = (37 * hash) + EXECUTOR_NAME_FIELD_NUMBER;
hash = (53 * hash) + getExecutorName().hashCode();
hash = (37 * hash) + SERIALIZED_EXECUTOR_PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getSerializedExecutorParameters().hashCode();
if (getDefaultGraphInputTensorShapeCount() > 0) {
hash = (37 * hash) + DEFAULT_GRAPH_INPUT_TENSOR_SHAPE_FIELD_NUMBER;
hash = (53 * hash) + getDefaultGraphInputTensorShapeList().hashCode();
}
if (getDefaultGraphOutputTensorShapeCount() > 0) {
hash = (37 * hash) + DEFAULT_GRAPH_OUTPUT_TENSOR_SHAPE_FIELD_NUMBER;
hash = (53 * hash) + getDefaultGraphOutputTensorShapeList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo parseFrom(
java.nio.ByteBuffer data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo 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.RemoteFusedGraphExecuteInfo parseFrom(
org.nd4j.shade.protobuf.ByteString data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo 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.RemoteFusedGraphExecuteInfo parseFrom(byte[] data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo 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.RemoteFusedGraphExecuteInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo 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.RemoteFusedGraphExecuteInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo 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.RemoteFusedGraphExecuteInfo 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.RemoteFusedGraphExecuteInfo 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.RemoteFusedGraphExecuteInfo 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;
}
/**
*
* Protocol buffer representing a handle to a tensorflow resource. Handles are
* not valid across executions, but can be serialized back and forth from within
* a single run.
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public int getDefaultGraphOutputTensorShapeCount() {
if (defaultGraphOutputTensorShapeBuilder_ == null) {
return defaultGraphOutputTensorShape_.size();
} else {
return defaultGraphOutputTensorShapeBuilder_.getCount();
}
}
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public Builder setDefaultGraphOutputTensorShape(
int index, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto value) {
if (defaultGraphOutputTensorShapeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDefaultGraphOutputTensorShapeIsMutable();
defaultGraphOutputTensorShape_.set(index, value);
onChanged();
} else {
defaultGraphOutputTensorShapeBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public Builder addDefaultGraphOutputTensorShape(org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto value) {
if (defaultGraphOutputTensorShapeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDefaultGraphOutputTensorShapeIsMutable();
defaultGraphOutputTensorShape_.add(value);
onChanged();
} else {
defaultGraphOutputTensorShapeBuilder_.addMessage(value);
}
return this;
}
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public Builder addDefaultGraphOutputTensorShape(
int index, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto value) {
if (defaultGraphOutputTensorShapeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDefaultGraphOutputTensorShapeIsMutable();
defaultGraphOutputTensorShape_.add(index, value);
onChanged();
} else {
defaultGraphOutputTensorShapeBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder getDefaultGraphOutputTensorShapeBuilder(
int index) {
return getDefaultGraphOutputTensorShapeFieldBuilder().getBuilder(index);
}
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProtoOrBuilder getDefaultGraphOutputTensorShapeOrBuilder(
int index) {
if (defaultGraphOutputTensorShapeBuilder_ == null) {
return defaultGraphOutputTensorShape_.get(index); } else {
return defaultGraphOutputTensorShapeBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
* Optional: Default graph input tensor shape used to allocate memory
* before executing op
* TODO(satok): Remote output tensor shape once shape information is stored
* in NodeDef
*
*
* repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
*/
public java.util.List
getDefaultGraphOutputTensorShapeBuilderList() {
return getDefaultGraphOutputTensorShapeFieldBuilder().getBuilderList();
}
private org.nd4j.shade.protobuf.RepeatedFieldBuilderV3<
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProtoOrBuilder>
getDefaultGraphOutputTensorShapeFieldBuilder() {
if (defaultGraphOutputTensorShapeBuilder_ == null) {
defaultGraphOutputTensorShapeBuilder_ = new org.nd4j.shade.protobuf.RepeatedFieldBuilderV3<
org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder, org.tensorflow.framework.RemoteFusedGraphExecuteInfo.TensorShapeTypeProtoOrBuilder>(
defaultGraphOutputTensorShape_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
defaultGraphOutputTensorShape_ = null;
}
return defaultGraphOutputTensorShapeBuilder_;
}
public final Builder setUnknownFields(
final org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tensorflow.RemoteFusedGraphExecuteInfo)
}
// @@protoc_insertion_point(class_scope:tensorflow.RemoteFusedGraphExecuteInfo)
private static final org.tensorflow.framework.RemoteFusedGraphExecuteInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.tensorflow.framework.RemoteFusedGraphExecuteInfo();
}
public static org.tensorflow.framework.RemoteFusedGraphExecuteInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.nd4j.shade.protobuf.Parser
PARSER = new org.nd4j.shade.protobuf.AbstractParser() {
public RemoteFusedGraphExecuteInfo parsePartialFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return new RemoteFusedGraphExecuteInfo(input, extensionRegistry);
}
};
public static org.nd4j.shade.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.nd4j.shade.protobuf.Parser getParserForType() {
return PARSER;
}
public org.tensorflow.framework.RemoteFusedGraphExecuteInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}