Package org.platanios.tensorflow.proto
Class BundleEntryProto.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
- org.platanios.tensorflow.proto.BundleEntryProto.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,BundleEntryProtoOrBuilder
- Enclosing class:
- BundleEntryProto
public static final class BundleEntryProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder> implements BundleEntryProtoOrBuilder
Describes the metadata related to a checkpointed tensor.
Protobuf typeorg.platanios.tensorflow.proto.BundleEntryProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BundleEntryProto.Builder
addAllSlices(java.lang.Iterable<? extends TensorSliceProto> values)
Iff present, this entry represents a partitioned tensor.BundleEntryProto.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BundleEntryProto.Builder
addSlices(int index, TensorSliceProto value)
Iff present, this entry represents a partitioned tensor.BundleEntryProto.Builder
addSlices(int index, TensorSliceProto.Builder builderForValue)
Iff present, this entry represents a partitioned tensor.BundleEntryProto.Builder
addSlices(TensorSliceProto value)
Iff present, this entry represents a partitioned tensor.BundleEntryProto.Builder
addSlices(TensorSliceProto.Builder builderForValue)
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(com.google.protobuf.Descriptors.FieldDescriptor field)
BundleEntryProto.Builder
clearOffset()
int64 offset = 4;
BundleEntryProto.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BundleEntryProto.Builder
clearShape()
.org.platanios.tensorflow.proto.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 com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.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()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
TensorShapeProto.Builder
getShapeBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
TensorShapeProtoOrBuilder
getShapeOrBuilder()
.org.platanios.tensorflow.proto.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.java.util.List<TensorSliceProto.Builder>
getSlicesBuilderList()
Iff present, this entry represents a partitioned tensor.int
getSlicesCount()
Iff present, this entry represents a partitioned tensor.java.util.List<TensorSliceProto>
getSlicesList()
Iff present, this entry represents a partitioned tensor.TensorSliceProtoOrBuilder
getSlicesOrBuilder(int index)
Iff present, this entry represents a partitioned tensor.java.util.List<? extends TensorSliceProtoOrBuilder>
getSlicesOrBuilderList()
Iff present, this entry represents a partitioned tensor.boolean
hasShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BundleEntryProto.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleEntryProto.Builder
mergeFrom(com.google.protobuf.Message other)
BundleEntryProto.Builder
mergeFrom(BundleEntryProto other)
BundleEntryProto.Builder
mergeShape(TensorShapeProto value)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
BundleEntryProto.Builder
mergeUnknownFields(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BundleEntryProto.Builder
setOffset(long value)
int64 offset = 4;
BundleEntryProto.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
BundleEntryProto.Builder
setShape(TensorShapeProto value)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
BundleEntryProto.Builder
setShape(TensorShapeProto.Builder builderForValue)
.org.platanios.tensorflow.proto.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 value)
Iff present, this entry represents a partitioned tensor.BundleEntryProto.Builder
setSlices(int index, TensorSliceProto.Builder builderForValue)
Iff present, this entry represents a partitioned tensor.BundleEntryProto.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.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 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
clear
public BundleEntryProto.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
getDefaultInstanceForType
public BundleEntryProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BundleEntryProto build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BundleEntryProto buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BundleEntryProto.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
setField
public BundleEntryProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
clearField
public BundleEntryProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
clearOneof
public BundleEntryProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
setRepeatedField
public BundleEntryProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
addRepeatedField
public BundleEntryProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
mergeFrom
public BundleEntryProto.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BundleEntryProto.Builder>
-
mergeFrom
public BundleEntryProto.Builder mergeFrom(BundleEntryProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
mergeFrom
public BundleEntryProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BundleEntryProto.Builder>
- Throws:
java.io.IOException
-
getDtypeValue
public int getDtypeValue()
The tensor dtype and shape.
.org.platanios.tensorflow.proto.DataType dtype = 1;
- Specified by:
getDtypeValue
in interfaceBundleEntryProtoOrBuilder
- Returns:
- The enum numeric value on the wire for dtype.
-
setDtypeValue
public BundleEntryProto.Builder setDtypeValue(int value)
The tensor dtype and shape.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.DataType dtype = 1;
- Specified by:
getDtype
in interfaceBundleEntryProtoOrBuilder
- Returns:
- The dtype.
-
setDtype
public BundleEntryProto.Builder setDtype(DataType value)
The tensor dtype and shape.
.org.platanios.tensorflow.proto.DataType dtype = 1;
- Parameters:
value
- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
public BundleEntryProto.Builder clearDtype()
The tensor dtype and shape.
.org.platanios.tensorflow.proto.DataType dtype = 1;
- Returns:
- This builder for chaining.
-
hasShape
public boolean hasShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
- Specified by:
hasShape
in interfaceBundleEntryProtoOrBuilder
- Returns:
- Whether the shape field is set.
-
getShape
public TensorShapeProto getShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
- Specified by:
getShape
in interfaceBundleEntryProtoOrBuilder
- Returns:
- The shape.
-
setShape
public BundleEntryProto.Builder setShape(TensorShapeProto value)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
-
setShape
public BundleEntryProto.Builder setShape(TensorShapeProto.Builder builderForValue)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
-
mergeShape
public BundleEntryProto.Builder mergeShape(TensorShapeProto value)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
-
clearShape
public BundleEntryProto.Builder clearShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
-
getShapeBuilder
public TensorShapeProto.Builder getShapeBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
- Specified by:
getShapeOrBuilder
in 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:
getShardId
in 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:
getOffset
in 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:
getSize
in 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:
getCrc32C
in 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 java.util.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 .org.platanios.tensorflow.proto.TensorSliceProto slices = 7;
- Specified by:
getSlicesList
in 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 .org.platanios.tensorflow.proto.TensorSliceProto slices = 7;
- Specified by:
getSlicesCount
in 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 .org.platanios.tensorflow.proto.TensorSliceProto slices = 7;
- Specified by:
getSlices
in 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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorSliceProto slices = 7;
-
addAllSlices
public BundleEntryProto.Builder addAllSlices(java.lang.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorSliceProto slices = 7;
- Specified by:
getSlicesOrBuilder
in interfaceBundleEntryProtoOrBuilder
-
getSlicesOrBuilderList
public java.util.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 .org.platanios.tensorflow.proto.TensorSliceProto slices = 7;
- Specified by:
getSlicesOrBuilderList
in 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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorSliceProto slices = 7;
-
getSlicesBuilderList
public java.util.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 .org.platanios.tensorflow.proto.TensorSliceProto slices = 7;
-
setUnknownFields
public final BundleEntryProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
mergeUnknownFields
public final BundleEntryProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BundleEntryProto.Builder>
-
-