public final class BundleEntryProto extends com.github.os72.protobuf351.GeneratedMessageV3 implements BundleEntryProtoOrBuilder
Describes the metadata related to a checkpointed tensor.Protobuf type
tensorflow.BundleEntryProto| Modifier and Type | Class and Description |
|---|---|
static class |
BundleEntryProto.Builder
Describes the metadata related to a checkpointed tensor.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CRC32C_FIELD_NUMBER |
static int |
DTYPE_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
SHAPE_FIELD_NUMBER |
static int |
SHARD_ID_FIELD_NUMBER |
static int |
SIZE_FIELD_NUMBER |
static int |
SLICES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCrc32C()
The CRC32C checksum of the tensor bytes.
|
static BundleEntryProto |
getDefaultInstance() |
BundleEntryProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
DataType |
getDtype()
The tensor dtype and shape.
|
int |
getDtypeValue()
The tensor dtype and shape.
|
long |
getOffset()
int64 offset = 4; |
com.github.os72.protobuf351.Parser<BundleEntryProto> |
getParserForType() |
int |
getSerializedSize() |
TensorShapeProto |
getShape()
.tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder |
getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 2; |
int |
getShardId()
The binary content of the tensor lies in:
File "shard_id": bytes [offset, offset + size).
|
long |
getSize()
int64 size = 5; |
TensorSliceProto |
getSlices(int index)
Iff present, this entry represents a partitioned tensor.
|
int |
getSlicesCount()
Iff present, this entry represents a partitioned tensor.
|
List<TensorSliceProto> |
getSlicesList()
Iff present, this entry represents a partitioned tensor.
|
TensorSliceProtoOrBuilder |
getSlicesOrBuilder(int index)
Iff present, this entry represents a partitioned tensor.
|
List<? extends TensorSliceProtoOrBuilder> |
getSlicesOrBuilderList()
Iff present, this entry represents a partitioned tensor.
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasShape()
.tensorflow.TensorShapeProto shape = 2; |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BundleEntryProto.Builder |
newBuilder() |
static BundleEntryProto.Builder |
newBuilder(BundleEntryProto prototype) |
BundleEntryProto.Builder |
newBuilderForType() |
protected BundleEntryProto.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static BundleEntryProto |
parseDelimitedFrom(InputStream input) |
static BundleEntryProto |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(byte[] data) |
static BundleEntryProto |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(ByteBuffer data) |
static BundleEntryProto |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static BundleEntryProto |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static BundleEntryProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(InputStream input) |
static BundleEntryProto |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<BundleEntryProto> |
parser() |
BundleEntryProto.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DTYPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER
public static final int SHARD_ID_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
public static final int CRC32C_FIELD_NUMBER
public static final int SLICES_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.github.os72.protobuf351.MessageOrBuildergetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3public int getDtypeValue()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;getDtypeValue in interface BundleEntryProtoOrBuilderpublic DataType getDtype()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;getDtype in interface BundleEntryProtoOrBuilderpublic boolean hasShape()
.tensorflow.TensorShapeProto shape = 2;hasShape in interface BundleEntryProtoOrBuilderpublic TensorShapeProto getShape()
.tensorflow.TensorShapeProto shape = 2;getShape in interface BundleEntryProtoOrBuilderpublic TensorShapeProtoOrBuilder getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 2;getShapeOrBuilder in interface BundleEntryProtoOrBuilderpublic int getShardId()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;getShardId in interface BundleEntryProtoOrBuilderpublic long getOffset()
int64 offset = 4;getOffset in interface BundleEntryProtoOrBuilderpublic long getSize()
int64 size = 5;getSize in interface BundleEntryProtoOrBuilderpublic int getCrc32C()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;getCrc32C in interface BundleEntryProtoOrBuilderpublic List<TensorSliceProto> getSlicesList()
Iff present, this entry represents a partitioned tensor. The previous
fields are interpreted as follows:
"dtype", "shape": describe the full tensor.
"shard_id", "offset", "size", "crc32c": all IGNORED.
These information for each slice can be looked up in their own
BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;getSlicesList in interface BundleEntryProtoOrBuilderpublic List<? extends TensorSliceProtoOrBuilder> getSlicesOrBuilderList()
Iff present, this entry represents a partitioned tensor. The previous
fields are interpreted as follows:
"dtype", "shape": describe the full tensor.
"shard_id", "offset", "size", "crc32c": all IGNORED.
These information for each slice can be looked up in their own
BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;getSlicesOrBuilderList in interface BundleEntryProtoOrBuilderpublic int getSlicesCount()
Iff present, this entry represents a partitioned tensor. The previous
fields are interpreted as follows:
"dtype", "shape": describe the full tensor.
"shard_id", "offset", "size", "crc32c": all IGNORED.
These information for each slice can be looked up in their own
BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;getSlicesCount in interface BundleEntryProtoOrBuilderpublic TensorSliceProto getSlices(int index)
Iff present, this entry represents a partitioned tensor. The previous
fields are interpreted as follows:
"dtype", "shape": describe the full tensor.
"shard_id", "offset", "size", "crc32c": all IGNORED.
These information for each slice can be looked up in their own
BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;getSlices in interface BundleEntryProtoOrBuilderpublic TensorSliceProtoOrBuilder getSlicesOrBuilder(int index)
Iff present, this entry represents a partitioned tensor. The previous
fields are interpreted as follows:
"dtype", "shape": describe the full tensor.
"shard_id", "offset", "size", "crc32c": all IGNORED.
These information for each slice can be looked up in their own
BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;getSlicesOrBuilder in interface BundleEntryProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3public void writeTo(com.github.os72.protobuf351.CodedOutputStream output)
throws IOException
writeTo in interface com.github.os72.protobuf351.MessageLitewriteTo in class com.github.os72.protobuf351.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.github.os72.protobuf351.MessageLitegetSerializedSize in class com.github.os72.protobuf351.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.github.os72.protobuf351.Messageequals in class com.github.os72.protobuf351.AbstractMessagepublic int hashCode()
hashCode in interface com.github.os72.protobuf351.MessagehashCode in class com.github.os72.protobuf351.AbstractMessagepublic static BundleEntryProto parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static BundleEntryProto parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BundleEntryProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BundleEntryProto parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BundleEntryProto parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOExceptionpublic static BundleEntryProto parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BundleEntryProto.Builder newBuilderForType()
newBuilderForType in interface com.github.os72.protobuf351.MessagenewBuilderForType in interface com.github.os72.protobuf351.MessageLitepublic static BundleEntryProto.Builder newBuilder()
public static BundleEntryProto.Builder newBuilder(BundleEntryProto prototype)
public BundleEntryProto.Builder toBuilder()
toBuilder in interface com.github.os72.protobuf351.MessagetoBuilder in interface com.github.os72.protobuf351.MessageLiteprotected BundleEntryProto.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.github.os72.protobuf351.GeneratedMessageV3public static BundleEntryProto getDefaultInstance()
public static com.github.os72.protobuf351.Parser<BundleEntryProto> parser()
public com.github.os72.protobuf351.Parser<BundleEntryProto> getParserForType()
getParserForType in interface com.github.os72.protobuf351.MessagegetParserForType in interface com.github.os72.protobuf351.MessageLitegetParserForType in class com.github.os72.protobuf351.GeneratedMessageV3public BundleEntryProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderCopyright © 2018. All rights reserved.