Package org.tensorflow.util
Class BundleEntryProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
- org.tensorflow.util.BundleEntryProto.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,BundleEntryProtoOrBuilder
- Enclosing class:
- BundleEntryProto
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 typetensorflow.BundleEntryProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BundleEntryProto.BuilderaddAllSlices(Iterable<? extends TensorSliceProto> values)Iff present, this entry represents a partitioned tensor.BundleEntryProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)BundleEntryProto.BuilderaddSlices(int index, TensorSliceProto value)Iff present, this entry represents a partitioned tensor.BundleEntryProto.BuilderaddSlices(int index, TensorSliceProto.Builder builderForValue)Iff present, this entry represents a partitioned tensor.BundleEntryProto.BuilderaddSlices(TensorSliceProto value)Iff present, this entry represents a partitioned tensor.BundleEntryProto.BuilderaddSlices(TensorSliceProto.Builder builderForValue)Iff present, this entry represents a partitioned tensor.TensorSliceProto.BuilderaddSlicesBuilder()Iff present, this entry represents a partitioned tensor.TensorSliceProto.BuilderaddSlicesBuilder(int index)Iff present, this entry represents a partitioned tensor.BundleEntryProtobuild()BundleEntryProtobuildPartial()BundleEntryProto.Builderclear()BundleEntryProto.BuilderclearCrc32C()The CRC32C checksum of the tensor bytes.BundleEntryProto.BuilderclearDtype()The tensor dtype and shape.BundleEntryProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)BundleEntryProto.BuilderclearOffset()int64 offset = 4;BundleEntryProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)BundleEntryProto.BuilderclearShape().tensorflow.TensorShapeProto shape = 2;BundleEntryProto.BuilderclearShardId()The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).BundleEntryProto.BuilderclearSize()int64 size = 5;BundleEntryProto.BuilderclearSlices()Iff present, this entry represents a partitioned tensor.BundleEntryProto.Builderclone()intgetCrc32C()The CRC32C checksum of the tensor bytes.BundleEntryProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()DataTypegetDtype()The tensor dtype and shape.intgetDtypeValue()The tensor dtype and shape.longgetOffset()int64 offset = 4;TensorShapeProtogetShape().tensorflow.TensorShapeProto shape = 2;TensorShapeProto.BuildergetShapeBuilder().tensorflow.TensorShapeProto shape = 2;TensorShapeProtoOrBuildergetShapeOrBuilder().tensorflow.TensorShapeProto shape = 2;intgetShardId()The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).longgetSize()int64 size = 5;TensorSliceProtogetSlices(int index)Iff present, this entry represents a partitioned tensor.TensorSliceProto.BuildergetSlicesBuilder(int index)Iff present, this entry represents a partitioned tensor.List<TensorSliceProto.Builder>getSlicesBuilderList()Iff present, this entry represents a partitioned tensor.intgetSlicesCount()Iff present, this entry represents a partitioned tensor.List<TensorSliceProto>getSlicesList()Iff present, this entry represents a partitioned tensor.TensorSliceProtoOrBuildergetSlicesOrBuilder(int index)Iff present, this entry represents a partitioned tensor.List<? extends TensorSliceProtoOrBuilder>getSlicesOrBuilderList()Iff present, this entry represents a partitioned tensor.booleanhasShape().tensorflow.TensorShapeProto shape = 2;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BundleEntryProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)BundleEntryProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)BundleEntryProto.BuildermergeFrom(BundleEntryProto other)BundleEntryProto.BuildermergeShape(TensorShapeProto value).tensorflow.TensorShapeProto shape = 2;BundleEntryProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)BundleEntryProto.BuilderremoveSlices(int index)Iff present, this entry represents a partitioned tensor.BundleEntryProto.BuildersetCrc32C(int value)The CRC32C checksum of the tensor bytes.BundleEntryProto.BuildersetDtype(DataType value)The tensor dtype and shape.BundleEntryProto.BuildersetDtypeValue(int value)The tensor dtype and shape.BundleEntryProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)BundleEntryProto.BuildersetOffset(long value)int64 offset = 4;BundleEntryProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BundleEntryProto.BuildersetShape(TensorShapeProto value).tensorflow.TensorShapeProto shape = 2;BundleEntryProto.BuildersetShape(TensorShapeProto.Builder builderForValue).tensorflow.TensorShapeProto shape = 2;BundleEntryProto.BuildersetShardId(int value)The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).BundleEntryProto.BuildersetSize(long value)int64 size = 5;BundleEntryProto.BuildersetSlices(int index, TensorSliceProto value)Iff present, this entry represents a partitioned tensor.BundleEntryProto.BuildersetSlices(int index, TensorSliceProto.Builder builderForValue)Iff present, this entry represents a partitioned tensor.BundleEntryProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
clear
public BundleEntryProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
getDefaultInstanceForType
public BundleEntryProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public BundleEntryProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public BundleEntryProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public BundleEntryProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
setField
public BundleEntryProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
clearField
public BundleEntryProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
clearOneof
public BundleEntryProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
setRepeatedField
public BundleEntryProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
addRepeatedField
public BundleEntryProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
mergeFrom
public BundleEntryProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<BundleEntryProto.Builder>
-
mergeFrom
public BundleEntryProto.Builder mergeFrom(BundleEntryProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
mergeFrom
public BundleEntryProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<BundleEntryProto.Builder>- Throws:
IOException
-
getDtypeValue
public int getDtypeValue()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;- Specified by:
getDtypeValuein interfaceBundleEntryProtoOrBuilder- Returns:
- The enum numeric value on the wire for dtype.
-
setDtypeValue
public BundleEntryProto.Builder setDtypeValue(int value)
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;- Parameters:
value- The enum numeric value on the wire for dtype to set.- Returns:
- This builder for chaining.
-
getDtype
public DataType getDtype()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;- Specified by:
getDtypein interfaceBundleEntryProtoOrBuilder- Returns:
- The dtype.
-
setDtype
public BundleEntryProto.Builder setDtype(DataType value)
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;- Parameters:
value- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
public BundleEntryProto.Builder clearDtype()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;- Returns:
- This builder for chaining.
-
hasShape
public boolean hasShape()
.tensorflow.TensorShapeProto shape = 2;- Specified by:
hasShapein interfaceBundleEntryProtoOrBuilder- Returns:
- Whether the shape field is set.
-
getShape
public TensorShapeProto getShape()
.tensorflow.TensorShapeProto shape = 2;- Specified by:
getShapein interfaceBundleEntryProtoOrBuilder- Returns:
- The shape.
-
setShape
public BundleEntryProto.Builder setShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
-
setShape
public BundleEntryProto.Builder setShape(TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
-
mergeShape
public BundleEntryProto.Builder mergeShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
-
clearShape
public BundleEntryProto.Builder clearShape()
.tensorflow.TensorShapeProto shape = 2;
-
getShapeBuilder
public TensorShapeProto.Builder getShapeBuilder()
.tensorflow.TensorShapeProto shape = 2;
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 2;- Specified by:
getShapeOrBuilderin interfaceBundleEntryProtoOrBuilder
-
getShardId
public int getShardId()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;- Specified by:
getShardIdin interfaceBundleEntryProtoOrBuilder- Returns:
- The shardId.
-
setShardId
public BundleEntryProto.Builder setShardId(int value)
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;- Parameters:
value- The shardId to set.- Returns:
- This builder for chaining.
-
clearShardId
public BundleEntryProto.Builder clearShardId()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;- Returns:
- This builder for chaining.
-
getOffset
public long getOffset()
int64 offset = 4;- Specified by:
getOffsetin interfaceBundleEntryProtoOrBuilder- Returns:
- The offset.
-
setOffset
public BundleEntryProto.Builder setOffset(long value)
int64 offset = 4;- Parameters:
value- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
public BundleEntryProto.Builder clearOffset()
int64 offset = 4;- Returns:
- This builder for chaining.
-
getSize
public long getSize()
int64 size = 5;- Specified by:
getSizein interfaceBundleEntryProtoOrBuilder- Returns:
- The size.
-
setSize
public BundleEntryProto.Builder setSize(long value)
int64 size = 5;- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
public BundleEntryProto.Builder clearSize()
int64 size = 5;- Returns:
- This builder for chaining.
-
getCrc32C
public int getCrc32C()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;- Specified by:
getCrc32Cin interfaceBundleEntryProtoOrBuilder- Returns:
- The crc32c.
-
setCrc32C
public BundleEntryProto.Builder setCrc32C(int value)
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;- Parameters:
value- The crc32c to set.- Returns:
- This builder for chaining.
-
clearCrc32C
public BundleEntryProto.Builder clearCrc32C()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;- Returns:
- This builder for chaining.
-
getSlicesList
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;- Specified by:
getSlicesListin interfaceBundleEntryProtoOrBuilder
-
getSlicesCount
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;- Specified by:
getSlicesCountin interfaceBundleEntryProtoOrBuilder
-
getSlices
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;- Specified by:
getSlicesin interfaceBundleEntryProtoOrBuilder
-
setSlices
public 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;
-
setSlices
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;
-
addSlices
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;
-
addSlices
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;
-
addSlices
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;
-
addSlices
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;
-
addAllSlices
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;
-
clearSlices
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;
-
removeSlices
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;
-
getSlicesBuilder
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;
-
getSlicesOrBuilder
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;- Specified by:
getSlicesOrBuilderin interfaceBundleEntryProtoOrBuilder
-
getSlicesOrBuilderList
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;- Specified by:
getSlicesOrBuilderListin interfaceBundleEntryProtoOrBuilder
-
addSlicesBuilder
public 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;
-
addSlicesBuilder
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;
-
getSlicesBuilderList
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;
-
setUnknownFields
public final BundleEntryProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
mergeUnknownFields
public final BundleEntryProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
-