VariantTensorDataProto

public final class VariantTensorDataProto

 Protocol buffer representing the serialization format of DT_VARIANT tensors.
 
Protobuf type tensorflow.VariantTensorDataProto

Nested Classes

class VariantTensorDataProto.Builder
 Protocol buffer representing the serialization format of DT_VARIANT tensors. 

Constants

int METADATA_FIELD_NUMBER
int TENSORS_FIELD_NUMBER
int TYPE_NAME_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static VariantTensorDataProto
VariantTensorDataProto
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
getMetadata()
 Portions of the object that are not Tensors.
int
TensorProto
getTensors(int index)
 Tensors contained within objects being serialized.
int
getTensorsCount()
 Tensors contained within objects being serialized.
List<TensorProto>
getTensorsList()
 Tensors contained within objects being serialized.
TensorProtoOrBuilder
getTensorsOrBuilder(int index)
 Tensors contained within objects being serialized.
List<? extends TensorProtoOrBuilder>
getTensorsOrBuilderList()
 Tensors contained within objects being serialized.
String
getTypeName()
 Name of the type of objects being serialized.
com.google.protobuf.ByteString
getTypeNameBytes()
 Name of the type of objects being serialized.
final com.google.protobuf.UnknownFieldSet
int
final boolean
static VariantTensorDataProto.Builder
static VariantTensorDataProto.Builder
VariantTensorDataProto.Builder
static VariantTensorDataProto
parseDelimitedFrom(InputStream input)
static VariantTensorDataProto
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VariantTensorDataProto
parseFrom(ByteBuffer data)
static VariantTensorDataProto
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VariantTensorDataProto
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VariantTensorDataProto
parseFrom(com.google.protobuf.CodedInputStream input)
static VariantTensorDataProto
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VariantTensorDataProto
parseFrom(com.google.protobuf.ByteString data)
static VariantTensorDataProto
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VariantTensorDataProto
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
VariantTensorDataProto.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int METADATA_FIELD_NUMBER

Constant Value: 2

public static final int TENSORS_FIELD_NUMBER

Constant Value: 3

public static final int TYPE_NAME_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public static VariantTensorDataProto getDefaultInstance ()

public VariantTensorDataProto getDefaultInstanceForType ()

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

public com.google.protobuf.ByteString getMetadata ()

 Portions of the object that are not Tensors.
 
bytes metadata = 2;

public getParserForType ()

public int getSerializedSize ()

public TensorProto getTensors (int index)

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public int getTensorsCount ()

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public List<TensorProto> getTensorsList ()

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public TensorProtoOrBuilder getTensorsOrBuilder (int index)

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public List<? extends TensorProtoOrBuilder> getTensorsOrBuilderList ()

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public String getTypeName ()

 Name of the type of objects being serialized.
 
string type_name = 1;

public com.google.protobuf.ByteString getTypeNameBytes ()

 Name of the type of objects being serialized.
 
string type_name = 1;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static VariantTensorDataProto.Builder newBuilder (VariantTensorDataProto prototype)

public static VariantTensorDataProto.Builder newBuilder ()

public VariantTensorDataProto.Builder newBuilderForType ()

public static VariantTensorDataProto parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static VariantTensorDataProto parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()

public VariantTensorDataProto.Builder toBuilder ()

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

Throws
IOException