BundleEntryProto.Builder

classe final pública estática BundleEntryProto.Builder

 Describes the metadata related to a checkpointed tensor.
 
tensorflow.BundleEntryProto tipo tensorflow.BundleEntryProto

Métodos Públicos

BundleEntryProto.Builder
addAllSlices (valores Iterable <? extends TensorSliceProto >)
 Iff present, this entry represents a partitioned tensor.
BundleEntryProto.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
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 (valor TensorSliceProto )
 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 (índice interno )
 Iff present, this entry represents a partitioned tensor.
TensorSliceProto.Builder
addSlicesBuilder ()
 Iff present, this entry represents a partitioned tensor.
BundleEntryProto
build ()
BundleEntryProto
BundleEntryProto.Builder
limpar ()
BundleEntryProto.Builder
clearCrc32C ()
 The CRC32C checksum of the tensor bytes.
BundleEntryProto.Builder
clearDtype ()
 The tensor dtype and shape.
BundleEntryProto.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
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
clone ()
int
getCrc32C ()
 The CRC32C checksum of the tensor bytes.
BundleEntryProto
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Tipo de dados
getDtype ()
 The tensor dtype and shape.
int
getDtypeValue ()
 The tensor dtype and shape.
longo
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).
longo
getSize ()
int64 size = 5;
TensorSliceProto
getSlices (índice int)
 Iff present, this entry represents a partitioned tensor.
TensorSliceProto.Builder
getSlicesBuilder (índice interno )
 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.
Lista < TensorSliceProto >
getSlicesList ()
 Iff present, this entry represents a partitioned tensor.
TensorSliceProtoOrBuilder
getSlicesOrBuilder (índice interno )
 Iff present, this entry represents a partitioned tensor.
Lista <? estende TensorSliceProtoOrBuilder >
getSlicesOrBuilderList ()
 Iff present, this entry represents a partitioned tensor.
boleano
hasShape ()
.tensorflow.TensorShapeProto shape = 2;
final booleano
BundleEntryProto.Builder
mergeFrom (com.google.protobuf.Message other)
BundleEntryProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleEntryProto.Builder
mergeShape (valor TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
BundleEntryProto.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleEntryProto.Builder
removeSlices (índice interno )
 Iff present, this entry represents a partitioned tensor.
BundleEntryProto.Builder
setCrc32C (valor int)
 The CRC32C checksum of the tensor bytes.
BundleEntryProto.Builder
setDtype (valor DataType )
 The tensor dtype and shape.
BundleEntryProto.Builder
setDtypeValue (valor int)
 The tensor dtype and shape.
BundleEntryProto.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
BundleEntryProto.Builder
setOffset (valor longo)
int64 offset = 4;
BundleEntryProto.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
BundleEntryProto.Builder
setShape (valor TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
BundleEntryProto.Builder
setShape ( TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
BundleEntryProto.Builder
setShardId (valor int)
 The binary content of the tensor lies in:
   File "shard_id": bytes [offset, offset + size).
BundleEntryProto.Builder
setSize (valor longo)
int64 size = 5;
BundleEntryProto.Builder
setSlices (int index, TensorSliceProto.Builder builderForValue)
 Iff present, this entry represents a partitioned tensor.
BundleEntryProto.Builder
setSlices (índice int, valor TensorSliceProto )
 Iff present, this entry represents a partitioned tensor.
BundleEntryProto.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Métodos herdados

Métodos Públicos

public BundleEntryProto.Builder addAllSlices (Iterable <? extends TensorSliceProto > valores)

 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

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 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 (valor TensorSliceProto )

 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 TensorSliceProto.Builder addSlicesBuilder (índice interno )

 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 ()

 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 build ()

public BundleEntryProto buildPartial ()

public BundleEntryProto.Builder clear ()

public BundleEntryProto.Builder clearCrc32C ()

 The CRC32C checksum of the tensor bytes.
 
fixed32 crc32c = 6;

public BundleEntryProto.Builder clearDtype ()

 The tensor dtype and shape.
 
.tensorflow.DataType dtype = 1;

public BundleEntryProto.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public BundleEntryProto.Builder clearOffset ()

int64 offset = 4;

public BundleEntryProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public BundleEntryProto.Builder clearShape ()

.tensorflow.TensorShapeProto shape = 2;

public BundleEntryProto.Builder clearShardId ()

 The binary content of the tensor lies in:
   File "shard_id": bytes [offset, offset + size).
 
int32 shard_id = 3;

public BundleEntryProto.Builder clearSize ()

int64 size = 5;

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;

clone public BundleEntryProto.Builder ()

public int getCrc32C ()

 The CRC32C checksum of the tensor bytes.
 
fixed32 crc32c = 6;

public BundleEntryProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public DataType getDtype ()

 The tensor dtype and shape.
 
.tensorflow.DataType dtype = 1;

public int getDtypeValue ()

 The tensor dtype and shape.
 
.tensorflow.DataType dtype = 1;

public long getOffset ()

int64 offset = 4;

public TensorShapeProto getShape ()

.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProto.Builder getShapeBuilder ()

.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

.tensorflow.TensorShapeProto shape = 2;

public int getShardId ()

 The binary content of the tensor lies in:
   File "shard_id": bytes [offset, offset + size).
 
int32 shard_id = 3;

public long getSize ()

int64 size = 5;

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;

public TensorSliceProto.Builder getSlicesBuilder (índice int)

 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 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;

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;

public TensorSliceProtoOrBuilder getSlicesOrBuilder (índice interno )

 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;

Lista pública <? estende 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;

public boolean hasShape ()

.tensorflow.TensorShapeProto shape = 2;

public final boolean isInitialized ()

public BundleEntryProto.Builder mergeFrom (com.google.protobuf.Message other)

public BundleEntryProto.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public BundleEntryProto.Builder mergeShape (valor TensorShapeProto )

.tensorflow.TensorShapeProto shape = 2;

public final BundleEntryProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public BundleEntryProto.Builder removeSlices (índice int)

 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 setCrc32C (valor int)

 The CRC32C checksum of the tensor bytes.
 
fixed32 crc32c = 6;

public BundleEntryProto.Builder setDtype (valor DataType )

 The tensor dtype and shape.
 
.tensorflow.DataType dtype = 1;

public BundleEntryProto.Builder setDtypeValue (valor int)

 The tensor dtype and shape.
 
.tensorflow.DataType dtype = 1;

public BundleEntryProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public BundleEntryProto.Builder setOffset (valor longo)

int64 offset = 4;

public BundleEntryProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)

public BundleEntryProto.Builder setShape (valor TensorShapeProto )

.tensorflow.TensorShapeProto shape = 2;

public BundleEntryProto.Builder setShape ( TensorShapeProto.Builder builderForValue)

.tensorflow.TensorShapeProto shape = 2;

public BundleEntryProto.Builder setShardId (valor int)

 The binary content of the tensor lies in:
   File "shard_id": bytes [offset, offset + size).
 
int32 shard_id = 3;

public BundleEntryProto.Builder setSize (valor longo)

int64 size = 5;

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 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 final BundleEntryProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)