パブリック最終クラスBundleEntryProto
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
ネストされたクラス
クラス | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. |
定数
整数 | CRC32C_FIELD_NUMBER | |
整数 | DTYPE_FIELD_NUMBER | |
整数 | OFFSET_FIELD_NUMBER | |
整数 | SHAPE_FIELD_NUMBER | |
整数 | SHARD_ID_FIELD_NUMBER | |
整数 | SIZE_FIELD_NUMBER | |
整数 | SLICES_FIELD_NUMBER |
パブリックメソッド
ブール値 | 等しい(オブジェクトオブジェクト) |
整数 | getCrc32C () The CRC32C checksum of the tensor bytes. |
静的BundleEntryProto | |
バンドルエントリープロト | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
データ型 | getDtype () The tensor dtype and shape. |
整数 | getDtypeValue () The tensor dtype and shape. |
長さ | getOffset () int64 offset = 4; |
整数 | |
テンソル形状プロト | getShape () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
整数 | getShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
長さ | getSize () int64 size = 5; |
テンソルスライスプロト | getSlices (int インデックス) Iff present, this entry represents a partitioned tensor. |
整数 | getスライス数() Iff present, this entry represents a partitioned tensor. |
リスト< TensorSliceProto > | getSlicesList () 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. |
最終的な com.google.protobuf.UnknownFieldSet | |
ブール値 | hasShape () .tensorflow.TensorShapeProto shape = 2; |
整数 | ハッシュコード() |
最終ブール値 | |
静的BundleEntryProto.Builder | newBuilder () |
静的BundleEntryProto.Builder | newBuilder ( BundleEntryProtoプロトタイプ) |
BundleEntryProto.Builder | |
静的BundleEntryProto | parseDelimitedFrom (InputStream 入力) |
静的BundleEntryProto | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BundleEntryProto | parseFrom (ByteBuffer データ) |
静的BundleEntryProto | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BundleEntryProto | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BundleEntryProto | parseFrom (com.google.protobuf.CodedInputStream 入力) |
静的BundleEntryProto | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BundleEntryProto | parseFrom (com.google.protobuf.ByteString データ) |
静的BundleEntryProto | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BundleEntryProto | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的 | パーサー() |
BundleEntryProto.Builder | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数CRC32C_FIELD_NUMBER
定数値: 6
パブリック静的最終整数DTYPE_FIELD_NUMBER
定数値: 1
パブリック静的最終整数OFFSET_FIELD_NUMBER
定数値: 4
パブリック静的最終整数SHAPE_FIELD_NUMBER
定数値: 2
パブリック静的最終整数SHARD_ID_FIELD_NUMBER
定数値: 3
パブリック静的最終整数SIZE_FIELD_NUMBER
定数値: 5
パブリック静的最終整数SLICES_FIELD_NUMBER
定数値: 7
パブリックメソッド
public booleanに等しい(オブジェクト obj)
public int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public long getOffset ()
int64 offset = 4;
公共 getParserForType ()
public int getSerializedSize ()
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 インデックス)
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 (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;
公開リスト<? 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 .tensorflow.TensorSliceProto slices = 7;
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasShape ()
.tensorflow.TensorShapeProto shape = 2;
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static BundleEntryProto parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static BundleEntryProto parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static BundleEntryProto parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static BundleEntryProto parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static BundleEntryProto parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static BundleEntryProto parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|