classe finale statique publique BundleEntryProto.Builder
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
de type Protobuf.BundleEntryProto Méthodes publiques
BundleEntryProto.Builder | addAllSlices (Iterable<? extends TensorSliceProto > valeurs) Iff present, this entry represents a partitioned tensor. |
BundleEntryProto.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
BundleEntryProto.Builder | addSlices (index int, 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 | |
BundleEntryProto.Builder | addSlices (index int, valeur TensorSliceProto ) Iff present, this entry represents a partitioned tensor. |
TensorSliceProto.Builder | addSlicesBuilder (index int) Iff present, this entry represents a partitioned tensor. |
TensorSliceProto.Builder | addSlicesBuilder () Iff present, this entry represents a partitioned tensor. |
BundleEntryProto | construire () |
BundleEntryProto | buildPartial () |
BundleEntryProto.Builder | clair () |
BundleEntryProto.Builder | effacerCrc32C () The CRC32C checksum of the tensor bytes. |
BundleEntryProto.Builder | typeDclair () The tensor dtype and shape. |
BundleEntryProto.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
BundleEntryProto.Builder | clearOffset () int64 offset = 4; |
BundleEntryProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundleEntryProto.Builder | forme claire () .tensorflow.TensorShapeProto shape = 2; |
BundleEntryProto.Builder | clearShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
BundleEntryProto.Builder | clairTaille () int64 size = 5; |
BundleEntryProto.Builder | clearSlices () Iff present, this entry represents a partitioned tensor. |
BundleEntryProto.Builder | cloner () |
int | obtenirCrc32C () The CRC32C checksum of the tensor bytes. |
BundleEntryProto | |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Type de données | getDtype () The tensor dtype and shape. |
int | getDtypeValue () The tensor dtype and shape. |
long | getOffset () int64 offset = 4; |
TensorShapeProto | obtenirForme () .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 | obtenirTaille () int64 size = 5; |
TensorSliceProto | getSlices (index entier) Iff present, this entry represents a partitioned tensor. |
TensorSliceProto.Builder | getSlicesBuilder (index int) Iff present, this entry represents a partitioned tensor. |
Liste< TensorSliceProto.Builder > | getSlicesBuilderList () Iff present, this entry represents a partitioned tensor. |
int | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
Liste< TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (index int) Iff present, this entry represents a partitioned tensor. |
Liste<? étend TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
booléen | aForme () .tensorflow.TensorShapeProto shape = 2; |
booléen final | |
BundleEntryProto.Builder | mergeFrom (com.google.protobuf.Message autre) |
BundleEntryProto.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto.Builder | |
final BundleEntryProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
BundleEntryProto.Builder | RemoveSlices (index int) Iff present, this entry represents a partitioned tensor. |
BundleEntryProto.Builder | setCrc32C (valeur entière) The CRC32C checksum of the tensor bytes. |
BundleEntryProto.Builder | |
BundleEntryProto.Builder | setDtypeValue (valeur entière) The tensor dtype and shape. |
BundleEntryProto.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
BundleEntryProto.Builder | setOffset (valeur longue) int64 offset = 4; |
BundleEntryProto.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
BundleEntryProto.Builder | |
BundleEntryProto.Builder | |
BundleEntryProto.Builder | setShardId (valeur entière) The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
BundleEntryProto.Builder | setSize (valeur longue) int64 size = 5; |
BundleEntryProto.Builder | setSlices (index int, TensorSliceProto.Builder builderForValue) Iff present, this entry represents a partitioned tensor. |
BundleEntryProto.Builder | setSlices (index int, valeur TensorSliceProto ) Iff present, this entry represents a partitioned tensor. |
final BundleEntryProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public BundleEntryProto.Builder addAllSlices (Iterable<? étend TensorSliceProto > valeurs)
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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public BundleEntryProto.Builder addSlices (index int, 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 (valeur 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 (index int, valeur 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 TensorSliceProto.Builder addSlicesBuilder (index 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 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.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 clearShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
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 int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public long getOffset ()
int64 offset = 4;
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 (index 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 TensorSliceProto.Builder getSlicesBuilder (index 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;
Liste publique < 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;
Liste publique < 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 (index 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;
Liste publique <? étend 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 booléen hasShape ()
.tensorflow.TensorShapeProto shape = 2;
public final booléen isInitialized ()
public BundleEntryProto.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public BundleEntryProto.Builder mergeShape (valeur TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
public final BundleEntryProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BundleEntryProto.Builder removeSlices (index 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 (valeur int)
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public BundleEntryProto.Builder setDtype (valeur DataType )
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public BundleEntryProto.Builder setDtypeValue (valeur int)
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public BundleEntryProto.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public BundleEntryProto.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public BundleEntryProto.Builder setShape (valeur TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
public BundleEntryProto.Builder setShape ( TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
public BundleEntryProto.Builder setShardId (valeur int)
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
public BundleEntryProto.Builder setSlices (index int, 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 (index int, valeur 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;