Have a question? Connect with the community at the TensorFlow Forum Visit Forum

TensorConnection

public final class TensorConnection

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

Nested Classes

class TensorConnection.Builder
 Defines a connection between two tensors in a `GraphDef`. 

Constants

int FROM_TENSOR_FIELD_NUMBER
int TO_TENSOR_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
static TensorConnection
TensorConnection
final static com.google.protobuf.Descriptors.Descriptor
String
getFromTensor ()
 A tensor name.
com.google.protobuf.ByteString
getFromTensorBytes ()
 A tensor name.
int
String
getToTensor ()
 A tensor name.
com.google.protobuf.ByteString
getToTensorBytes ()
 A tensor name.
final com.google.protobuf.UnknownFieldSet
int
final boolean
static TensorConnection.Builder
static TensorConnection.Builder
TensorConnection.Builder
static TensorConnection
parseDelimitedFrom (InputStream input)
static TensorConnection
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorConnection
parseFrom (ByteBuffer data)
static TensorConnection
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorConnection
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorConnection
parseFrom (com.google.protobuf.CodedInputStream input)
static TensorConnection
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorConnection
parseFrom (com.google.protobuf.ByteString data)
static TensorConnection
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorConnection
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
TensorConnection.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int FROM_TENSOR_FIELD_NUMBER

Constant Value: 1

public static final int TO_TENSOR_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public static TensorConnection getDefaultInstance ()

public TensorConnection getDefaultInstanceForType ()

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

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 getParserForType ()

public int getSerializedSize ()

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 com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static TensorConnection.Builder newBuilder ( TensorConnection prototype)

public static TensorConnection.Builder newBuilder ()

public TensorConnection.Builder newBuilderForType ()

public static TensorConnection parseDelimitedFrom (InputStream input)

Throws
IOException

public static TensorConnection parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TensorConnection parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static TensorConnection parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TensorConnection parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static TensorConnection parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static TensorConnection parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static TensorConnection parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static TensorConnection parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TensorConnection parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public TensorConnection.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException