BundleEntryProto.Builder

public static final class BundleEntryProto.Builder

 Describes the metadata related to a checkpointed tensor.
 
Protobuf type tensorflow.BundleEntryProto

Public Methods

BundleEntryProto.Builder
addAllSlices (Iterable<? extends TensorSliceProto > values)
 Iff present, this entry represents a partitioned tensor.
BundleEntryProto.Builder
addRepeatedField (com.google.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 ( 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 (int index, TensorSliceProto value)
 Iff present, this entry represents a partitioned tensor.
TensorSliceProto.Builder
addSlicesBuilder (int index)
 Iff present, this entry represents a partitioned tensor.
TensorSliceProto.Builder
addSlicesBuilder ()
 Iff present, this entry represents a partitioned tensor.
BundleEntryProto
BundleEntryProto
BundleEntryProto.Builder
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 ()
.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
int
getCrc32C ()
 The CRC32C checksum of the tensor bytes.
BundleEntryProto
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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;
final boolean
BundleEntryProto.Builder
mergeFrom (com.google.protobuf.Message other)
BundleEntryProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleEntryProto.Builder
mergeShape ( TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
final 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, Object value)
BundleEntryProto.Builder
setOffset (long value)
int64 offset = 4;
BundleEntryProto.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BundleEntryProto.Builder
setShape ( TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
BundleEntryProto.Builder
setShape ( TensorShapeProto.Builder builderForValue)
.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.
final BundleEntryProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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 addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

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