Package org.platanios.tensorflow.proto
Interface BundleHeaderProtoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BundleHeaderProto
,BundleHeaderProto.Builder
public interface BundleHeaderProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BundleHeaderProto.Endianness
getEndianness()
.org.platanios.tensorflow.proto.BundleHeaderProto.Endianness endianness = 2;
int
getEndiannessValue()
.org.platanios.tensorflow.proto.BundleHeaderProto.Endianness endianness = 2;
int
getNumShards()
Number of data files in the bundle.VersionDef
getVersion()
Versioning of the tensor bundle format.VersionDefOrBuilder
getVersionOrBuilder()
Versioning of the tensor bundle format.boolean
hasVersion()
Versioning of the tensor bundle format.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNumShards
int getNumShards()
Number of data files in the bundle.
int32 num_shards = 1;
- Returns:
- The numShards.
-
getEndiannessValue
int getEndiannessValue()
.org.platanios.tensorflow.proto.BundleHeaderProto.Endianness endianness = 2;
- Returns:
- The enum numeric value on the wire for endianness.
-
getEndianness
BundleHeaderProto.Endianness getEndianness()
.org.platanios.tensorflow.proto.BundleHeaderProto.Endianness endianness = 2;
- Returns:
- The endianness.
-
hasVersion
boolean hasVersion()
Versioning of the tensor bundle format.
.org.platanios.tensorflow.proto.VersionDef version = 3;
- Returns:
- Whether the version field is set.
-
getVersion
VersionDef getVersion()
Versioning of the tensor bundle format.
.org.platanios.tensorflow.proto.VersionDef version = 3;
- Returns:
- The version.
-
getVersionOrBuilder
VersionDefOrBuilder getVersionOrBuilder()
Versioning of the tensor bundle format.
.org.platanios.tensorflow.proto.VersionDef version = 3;
-
-