public static final class BundleEntryProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder> implements BundleEntryProtoOrBuilder
Describes the metadata related to a checkpointed tensor.Protobuf type
tensorflow.BundleEntryProto| Modifier and Type | Method and Description |
|---|---|
BundleEntryProto.Builder |
addAllSlices(Iterable<? extends TensorSliceProto> values)
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BundleEntryProto.Builder |
addSlices(int index,
TensorSliceProto.Builder builderForValue)
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto.Builder |
addSlices(int index,
TensorSliceProto value)
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto.Builder |
addSlices(TensorSliceProto.Builder builderForValue)
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto.Builder |
addSlices(TensorSliceProto value)
Iff present, this entry represents a partitioned tensor.
|
TensorSliceProto.Builder |
addSlicesBuilder()
Iff present, this entry represents a partitioned tensor.
|
TensorSliceProto.Builder |
addSlicesBuilder(int index)
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto |
build() |
BundleEntryProto |
buildPartial() |
BundleEntryProto.Builder |
clear() |
BundleEntryProto.Builder |
clearCrc32C()
The CRC32C checksum of the tensor bytes.
|
BundleEntryProto.Builder |
clearDtype()
The tensor dtype and shape.
|
BundleEntryProto.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
BundleEntryProto.Builder |
clearOffset()
int64 offset = 4; |
BundleEntryProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
BundleEntryProto.Builder |
clearShape()
.tensorflow.TensorShapeProto shape = 2; |
BundleEntryProto.Builder |
clearShardId()
The binary content of the tensor lies in:
File "shard_id": bytes [offset, offset + size).
|
BundleEntryProto.Builder |
clearSize()
int64 size = 5; |
BundleEntryProto.Builder |
clearSlices()
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto.Builder |
clone() |
int |
getCrc32C()
The CRC32C checksum of the tensor bytes.
|
BundleEntryProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DataType |
getDtype()
The tensor dtype and shape.
|
int |
getDtypeValue()
The tensor dtype and shape.
|
long |
getOffset()
int64 offset = 4; |
TensorShapeProto |
getShape()
.tensorflow.TensorShapeProto shape = 2; |
TensorShapeProto.Builder |
getShapeBuilder()
.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.
|
TensorSliceProto.Builder |
getSlicesBuilder(int index)
Iff present, this entry represents a partitioned tensor.
|
List<TensorSliceProto.Builder> |
getSlicesBuilderList()
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.
|
boolean |
hasShape()
.tensorflow.TensorShapeProto shape = 2; |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BundleEntryProto.Builder |
mergeFrom(BundleEntryProto other) |
BundleEntryProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
BundleEntryProto.Builder |
mergeShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2; |
BundleEntryProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
BundleEntryProto.Builder |
removeSlices(int index)
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto.Builder |
setCrc32C(int value)
The CRC32C checksum of the tensor bytes.
|
BundleEntryProto.Builder |
setDtype(DataType value)
The tensor dtype and shape.
|
BundleEntryProto.Builder |
setDtypeValue(int value)
The tensor dtype and shape.
|
BundleEntryProto.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BundleEntryProto.Builder |
setOffset(long value)
int64 offset = 4; |
BundleEntryProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BundleEntryProto.Builder |
setShape(TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2; |
BundleEntryProto.Builder |
setShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2; |
BundleEntryProto.Builder |
setShardId(int value)
The binary content of the tensor lies in:
File "shard_id": bytes [offset, offset + size).
|
BundleEntryProto.Builder |
setSize(long value)
int64 size = 5; |
BundleEntryProto.Builder |
setSlices(int index,
TensorSliceProto.Builder builderForValue)
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto.Builder |
setSlices(int index,
TensorSliceProto value)
Iff present, this entry represents a partitioned tensor.
|
BundleEntryProto.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic BundleEntryProto build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic BundleEntryProto buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic BundleEntryProto.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder mergeFrom(BundleEntryProto other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public BundleEntryProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<BundleEntryProto.Builder>IOExceptionpublic int getDtypeValue()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;getDtypeValue in interface BundleEntryProtoOrBuilderpublic BundleEntryProto.Builder setDtypeValue(int value)
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;public DataType getDtype()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;getDtype in interface BundleEntryProtoOrBuilderpublic BundleEntryProto.Builder setDtype(DataType value)
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;public BundleEntryProto.Builder clearDtype()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;public boolean hasShape()
.tensorflow.TensorShapeProto shape = 2;hasShape in interface BundleEntryProtoOrBuilderpublic TensorShapeProto getShape()
.tensorflow.TensorShapeProto shape = 2;getShape in interface BundleEntryProtoOrBuilderpublic BundleEntryProto.Builder setShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;public BundleEntryProto.Builder setShape(TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;public BundleEntryProto.Builder mergeShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;public BundleEntryProto.Builder clearShape()
.tensorflow.TensorShapeProto shape = 2;public TensorShapeProto.Builder getShapeBuilder()
.tensorflow.TensorShapeProto shape = 2;public 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 BundleEntryProto.Builder setShardId(int value)
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;public BundleEntryProto.Builder clearShardId()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;public long getOffset()
int64 offset = 4;getOffset in interface BundleEntryProtoOrBuilderpublic BundleEntryProto.Builder setOffset(long value)
int64 offset = 4;public BundleEntryProto.Builder clearOffset()
int64 offset = 4;public long getSize()
int64 size = 5;getSize in interface BundleEntryProtoOrBuilderpublic BundleEntryProto.Builder setSize(long value)
int64 size = 5;public BundleEntryProto.Builder clearSize()
int64 size = 5;public int getCrc32C()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;getCrc32C in interface BundleEntryProtoOrBuilderpublic BundleEntryProto.Builder setCrc32C(int value)
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;public BundleEntryProto.Builder clearCrc32C()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;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 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 BundleEntryProto.Builder setSlices(int index, TensorSliceProto value)
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;public BundleEntryProto.Builder setSlices(int index, TensorSliceProto.Builder builderForValue)
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;public BundleEntryProto.Builder addSlices(TensorSliceProto value)
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;public BundleEntryProto.Builder addSlices(int index, TensorSliceProto value)
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;public BundleEntryProto.Builder addSlices(TensorSliceProto.Builder builderForValue)
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;public BundleEntryProto.Builder addSlices(int index, TensorSliceProto.Builder builderForValue)
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;public BundleEntryProto.Builder addAllSlices(Iterable<? extends TensorSliceProto> values)
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;public BundleEntryProto.Builder clearSlices()
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;public BundleEntryProto.Builder removeSlices(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;public TensorSliceProto.Builder getSlicesBuilder(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;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 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 TensorSliceProto.Builder addSlicesBuilder()
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;public TensorSliceProto.Builder addSlicesBuilder(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;public List<TensorSliceProto.Builder> getSlicesBuilderList()
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;public final BundleEntryProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>public final BundleEntryProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>Copyright © 2021. All rights reserved.