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 TypeMethodDescriptioncom.google.protobuf.ByteStringPortions of the object that are not Tensors.getTensors(int index) Tensors contained within objects being serialized.intTensors contained within objects being serialized.Tensors contained within objects being serialized.getTensorsOrBuilder(int index) Tensors contained within objects being serialized.List<? extends TensorProtoOrBuilder> Tensors contained within objects being serialized.Name of the type of objects being serialized.com.google.protobuf.ByteStringName of the type of objects being serialized.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeName
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
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
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;
-