TensorConnection.Builder

public static final class TensorConnection.Builder

 Defines a connection between two tensors in a `GraphDef`.
 
Protobuf type tensorflow.TensorConnection

Public Methods

TensorConnection.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorConnection
build()
TensorConnection
TensorConnection.Builder
clear()
TensorConnection.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TensorConnection.Builder
clearFromTensor()
 A tensor name.
TensorConnection.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TensorConnection.Builder
clearToTensor()
 A tensor name.
TensorConnection.Builder
clone()
TensorConnection
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getFromTensor()
 A tensor name.
com.google.protobuf.ByteString
getFromTensorBytes()
 A tensor name.
String
getToTensor()
 A tensor name.
com.google.protobuf.ByteString
getToTensorBytes()
 A tensor name.
final boolean
TensorConnection.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorConnection.Builder
mergeFrom(com.google.protobuf.Message other)
final TensorConnection.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TensorConnection.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorConnection.Builder
setFromTensor(String value)
 A tensor name.
TensorConnection.Builder
setFromTensorBytes(com.google.protobuf.ByteString value)
 A tensor name.
TensorConnection.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TensorConnection.Builder
setToTensor(String value)
 A tensor name.
TensorConnection.Builder
setToTensorBytes(com.google.protobuf.ByteString value)
 A tensor name.
final TensorConnection.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public TensorConnection.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TensorConnection build ()

public TensorConnection buildPartial ()

public TensorConnection.Builder clear ()

public TensorConnection.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public TensorConnection.Builder clearFromTensor ()

 A tensor name. The value of this tensor will be substituted for
 the tensor named in `to_tensor`.
 
string from_tensor = 1;

public TensorConnection.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public TensorConnection.Builder clearToTensor ()

 A tensor name. The value of this tensor will be bound to the
 value of the tensor named in `from_tensor`.
 
string to_tensor = 2;

public TensorConnection.Builder clone ()

public TensorConnection getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getFromTensor ()

 A tensor name. The value of this tensor will be substituted for
 the tensor named in `to_tensor`.
 
string from_tensor = 1;

public com.google.protobuf.ByteString getFromTensorBytes ()

 A tensor name. The value of this tensor will be substituted for
 the tensor named in `to_tensor`.
 
string from_tensor = 1;

public String getToTensor ()

 A tensor name. The value of this tensor will be bound to the
 value of the tensor named in `from_tensor`.
 
string to_tensor = 2;

public com.google.protobuf.ByteString getToTensorBytes ()

 A tensor name. The value of this tensor will be bound to the
 value of the tensor named in `from_tensor`.
 
string to_tensor = 2;

public final boolean isInitialized ()

public TensorConnection.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public TensorConnection.Builder mergeFrom (com.google.protobuf.Message other)

public final TensorConnection.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public TensorConnection.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TensorConnection.Builder setFromTensor (String value)

 A tensor name. The value of this tensor will be substituted for
 the tensor named in `to_tensor`.
 
string from_tensor = 1;

public TensorConnection.Builder setFromTensorBytes (com.google.protobuf.ByteString value)

 A tensor name. The value of this tensor will be substituted for
 the tensor named in `to_tensor`.
 
string from_tensor = 1;

public TensorConnection.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public TensorConnection.Builder setToTensor (String value)

 A tensor name. The value of this tensor will be bound to the
 value of the tensor named in `from_tensor`.
 
string to_tensor = 2;

public TensorConnection.Builder setToTensorBytes (com.google.protobuf.ByteString value)

 A tensor name. The value of this tensor will be bound to the
 value of the tensor named in `from_tensor`.
 
string to_tensor = 2;

public final TensorConnection.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)