public final class BundleEntryProto extends org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
DataType |
getDtype()
The tensor dtype and shape.
|
int |
getDtypeValue()
The tensor dtype and shape.
|
long |
getOffset()
int64 offset = 4; |
org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasShape()
.tensorflow.TensorShapeProto shape = 2; |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BundleEntryProto.Builder |
newBuilder() |
static BundleEntryProto.Builder |
newBuilder(BundleEntryProto prototype) |
BundleEntryProto.Builder |
newBuilderForType() |
protected BundleEntryProto.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BundleEntryProto |
parseDelimitedFrom(InputStream input) |
static BundleEntryProto |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(byte[] data) |
static BundleEntryProto |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(ByteBuffer data) |
static BundleEntryProto |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static BundleEntryProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static BundleEntryProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto |
parseFrom(InputStream input) |
static BundleEntryProto |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<BundleEntryProto> |
parser() |
BundleEntryProto.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.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 org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static BundleEntryProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static BundleEntryProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static BundleEntryProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BundleEntryProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BundleEntryProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BundleEntryProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BundleEntryProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BundleEntryProto.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static BundleEntryProto.Builder newBuilder()
public static BundleEntryProto.Builder newBuilder(BundleEntryProto prototype)
public BundleEntryProto.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected BundleEntryProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static BundleEntryProto getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<BundleEntryProto> parser()
public org.nd4j.shade.protobuf.Parser<BundleEntryProto> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public BundleEntryProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.