публичный статический конечный класс BundleEntryProto.Builder
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
Публичные методы
BundleEntryProto.Builder | addAllSlices (Iterable<? расширяет значения TensorSliceProto >) Iff present, this entry represents a partitioned tensor. |
BundleEntryProto.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
BundleEntryProto.Builder | addSlices (индекс 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 (индекс int, значение TensorSliceProto ) Iff present, this entry represents a partitioned tensor. |
TensorSliceProto.Builder | addSlicesBuilder (индекс int) Iff present, this entry represents a partitioned tensor. |
TensorSliceProto.Builder | добавитьSlicesBuilder () Iff present, this entry represents a partitioned tensor. |
BundleEntryProto | строить () |
BundleEntryProto | |
BundleEntryProto.Builder | прозрачный () |
BundleEntryProto.Builder | очиститьCrc32C () The CRC32C checksum of the tensor bytes. |
BundleEntryProto.Builder | ОчиститьДтип () The tensor dtype and shape. |
BundleEntryProto.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
BundleEntryProto.Builder | очиститьСмещение () int64 offset = 4; |
BundleEntryProto.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundleEntryProto.Builder | прозрачная форма () .tensorflow.TensorShapeProto shape = 2; |
BundleEntryProto.Builder | очиститьШардид () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
BundleEntryProto.Builder | ОчиститьРазмер () int64 size = 5; |
BundleEntryProto.Builder | ОчиститьСрезы () Iff present, this entry represents a partitioned tensor. |
BundleEntryProto.Builder | клон () |
интервал | getCrc32C () The CRC32C checksum of the tensor bytes. |
BundleEntryProto | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Тип данных | getDtype () The tensor dtype and shape. |
интервал | getDtypeValue () The tensor dtype and shape. |
длинный | получитьСмещение () int64 offset = 4; |
TensorShapeProto | получитьШейп () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProto.Builder | getShapeBuilder () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
интервал | получитьShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
длинный | получитьРазмер () int64 size = 5; |
ТензорСрезПрото | getSlices (индекс целого числа) Iff present, this entry represents a partitioned tensor. |
TensorSliceProto.Builder | getSlicesBuilder (индекс int) Iff present, this entry represents a partitioned tensor. |
Список < TensorSliceProto.Builder > | getSlicesBuilderList () Iff present, this entry represents a partitioned tensor. |
интервал | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
Список < TensorSliceProto > | получитьСписокСрезов () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (индекс int) Iff present, this entry represents a partitioned tensor. |
Список <? расширяет TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
логическое значение | имеетШейп () .tensorflow.TensorShapeProto shape = 2; |
последнее логическое значение | |
BundleEntryProto.Builder | mergeFrom (com.google.protobuf.Message другое) |
BundleEntryProto.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
BundleEntryProto.Builder | |
окончательный BundleEntryProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
BundleEntryProto.Builder | удалитьSlices (индекс int) Iff present, this entry represents a partitioned tensor. |
BundleEntryProto.Builder | setCrc32C (целое значение) The CRC32C checksum of the tensor bytes. |
BundleEntryProto.Builder | |
BundleEntryProto.Builder | setDtypeValue (целое значение) The tensor dtype and shape. |
BundleEntryProto.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
BundleEntryProto.Builder | setOffset (длинное значение) int64 offset = 4; |
BundleEntryProto.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
BundleEntryProto.Builder | |
BundleEntryProto.Builder | |
BundleEntryProto.Builder | setShardId (целое значение) The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
BundleEntryProto.Builder | setSize (длинное значение) int64 size = 5; |
BundleEntryProto.Builder | setSlices (индекс int, TensorSliceProto.Builder builderForValue) Iff present, this entry represents a partitioned tensor. |
BundleEntryProto.Builder | setSlices (индекс int, значение TensorSliceProto ) Iff present, this entry represents a partitioned tensor. |
окончательный BundleEntryProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public BundleEntryProto.Builder addAllSlices (Iterable<? расширяет значения 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 addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public BundleEntryProto.Builder addSlices (индекс 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 (значение 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, значение 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 (индекс 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;
общедоступный 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;
общедоступный BundleEntryProto.Builder ClearCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
общедоступный BundleEntryProto.Builder ClearDtype ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
общедоступный 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;
общественный int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
публичный длинный getOffset ()
int64 offset = 4;
общедоступный 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;
общедоступный длинный getSize ()
int64 size = 5;
public TensorSliceProto getSlices (индекс 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 (индекс 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;
общедоступный список < 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;
общедоступный список < 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 (индекс 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;
общедоступный список<? расширяет 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;
общедоступное логическое значение hasShape ()
.tensorflow.TensorShapeProto shape = 2;
публичное окончательное логическое значение isInitialized ()
public BundleEntryProto.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
public BundleEntryProto.Builder mergeShape (значение TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
публичный финал BundleEntryProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public BundleEntryProto.Builder RemoveSlices (индекс 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 (целое значение)
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public BundleEntryProto.Builder setDtype (значение DataType )
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public BundleEntryProto.Builder setDtypeValue (целое значение)
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public BundleEntryProto.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public BundleEntryProto.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public BundleEntryProto.Builder setShape (значение TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
public BundleEntryProto.Builder setShape ( TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
public BundleEntryProto.Builder setShardId (целое значение)
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
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, значение 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;