Package org.tensorflow.framework
Interface VariantTensorDataProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VariantTensorDataProto,VariantTensorDataProto.Builder
public interface VariantTensorDataProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description com.google.protobuf.ByteStringgetMetadata()Portions of the object that are not Tensors.TensorProtogetTensors(int index)Tensors contained within objects being serialized.intgetTensorsCount()Tensors contained within objects being serialized.java.util.List<TensorProto>getTensorsList()Tensors contained within objects being serialized.TensorProtoOrBuildergetTensorsOrBuilder(int index)Tensors contained within objects being serialized.java.util.List<? extends TensorProtoOrBuilder>getTensorsOrBuilderList()Tensors contained within objects being serialized.java.lang.StringgetTypeName()Name of the type of objects being serialized.com.google.protobuf.ByteStringgetTypeNameBytes()Name of the type of objects being serialized.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeName
java.lang.String getTypeName()Name of the type of objects being serialized.
string type_name = 1;- Returns:
- The typeName.
-
getTypeNameBytes
com.google.protobuf.ByteString getTypeNameBytes()Name of the type of objects being serialized.
string type_name = 1;- Returns:
- The bytes for typeName.
-
getMetadata
com.google.protobuf.ByteString getMetadata()Portions of the object that are not Tensors.
bytes metadata = 2;- Returns:
- The metadata.
-
getTensorsList
java.util.List<TensorProto> getTensorsList()Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3; -
getTensors
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3; -
getTensorsCount
int getTensorsCount()Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3; -
getTensorsOrBuilderList
java.util.List<? extends TensorProtoOrBuilder> getTensorsOrBuilderList()Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3; -
getTensorsOrBuilder
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-