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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public int getDtypeValue()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
getDtypeValue
in interface BundleEntryProtoOrBuilder
public DataType getDtype()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
getDtype
in interface BundleEntryProtoOrBuilder
public boolean hasShape()
.tensorflow.TensorShapeProto shape = 2;
hasShape
in interface BundleEntryProtoOrBuilder
public TensorShapeProto getShape()
.tensorflow.TensorShapeProto shape = 2;
getShape
in interface BundleEntryProtoOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 2;
getShapeOrBuilder
in interface BundleEntryProtoOrBuilder
public int getShardId()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
getShardId
in interface BundleEntryProtoOrBuilder
public long getOffset()
int64 offset = 4;
getOffset
in interface BundleEntryProtoOrBuilder
public long getSize()
int64 size = 5;
getSize
in interface BundleEntryProtoOrBuilder
public int getCrc32C()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
getCrc32C
in interface BundleEntryProtoOrBuilder
public 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 BundleEntryProtoOrBuilder
public 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 BundleEntryProtoOrBuilder
public 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 BundleEntryProtoOrBuilder
public 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 BundleEntryProtoOrBuilder
public 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 BundleEntryProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static BundleEntryProto parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static BundleEntryProto parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static BundleEntryProto parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static BundleEntryProto parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static BundleEntryProto parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static BundleEntryProto parseFrom(InputStream input) throws IOException
IOException
public static BundleEntryProto parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BundleEntryProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static BundleEntryProto parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BundleEntryProto parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static BundleEntryProto parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public BundleEntryProto.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static BundleEntryProto.Builder newBuilder()
public static BundleEntryProto.Builder newBuilder(BundleEntryProto prototype)
public BundleEntryProto.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected BundleEntryProto.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public BundleEntryProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2019. All rights reserved.