ParseSequenceExampleV2

パブリック最終クラスParseSequenceExampleV2

tf.io.SequenceExample プロト (文字列として) のベクトルを型付きテンソルに変換します。

ネストされたクラス

クラスParseSequenceExampleV2.オプションParseSequenceExampleV2のオプションの属性

パブリックメソッド

静的ParseSequenceExampleV2.Options
NcontextSparse (長い NcontextSparse)
静的ParseSequenceExampleV2.Options
NfeatureListDense (長い NfeatureListDense)
静的ParseSequenceExampleV2.Options
NfeatureListSparse (長い NfeatureListSparse)
静的ParseSequenceExampleV2.Options
contextDenseShapes (List< Shape > contextDenseShapes)
リスト<出力<?>>
リスト<出力<?>>
リスト<出力<?>>
リスト<出力<ロング>
リスト<出力<ロング>
リスト<出力<?>>
静的ParseSequenceExampleV2
create (スコープscope,オペランド<String> シリアル化,オペランド<String> debugName,オペランド<String> contextSparseKeys,オペランド<String> contextDenseKeys,オペランド<String> contextRaggedKeys,オペランド<String> featureListSparseKeys,オペランド<String> featureListDenseKeys,オペランド<String > featureListRaggedKeys、オペランド<Boolean> featureListDenseMissingAssumedEmpty、Iterable< Operand <?>> contextDenseDefaults、List<Class<?>> contextSparseTypes、List<Class<?>> contextRaggedValueTypes、List<Class<?>> contextRaggedSplitTypes、List<Class<? >> featureListDenseTypes、List<Class<?>> featureListSparseTypes、List<Class<?>> featureListRaggedValueTypes、List<Class<?>> featureListRaggedSplitTypes、 Options...オプション)
新しい ParseSequenceExampleV2 オペレーションをラップするクラスを作成するためのファクトリ メソッド。
リスト<出力<ロング>
静的ParseSequenceExampleV2.Options
featureListDenseShapes (List< Shape > featureListDenseShapes)
リスト<出力<?>>
リスト<出力<?>>
リスト<出力<?>>
リスト<出力<?>>
リスト<出力<ロング>
リスト<出力<ロング>
リスト<出力<?>>

継承されたメソッド

パブリックメソッド

public static ParseSequenceExampleV2.Options NcontextSparse (Long NcontextSparse)

public static ParseSequenceExampleV2.Options NfeatureListDense (Long NfeatureListDense)

public static ParseSequenceExampleV2.Options NfeatureListSparse (Long NfeatureListSparse)

public static ParseSequenceExampleV2.Options contextDenseShapes (List< Shape > contextDenseShapes)

パラメーター
コンテキスト密な形状Ncontext_dense シェイプのリスト。 context_dense_keys で指定された各コンテキスト特徴のデータの形状。 context_dense_key[j] に対応するフィーチャー内の要素の数は、常に context_dense_shapes[j].NumEntries() と等しくなければなりません。 context_dense_values[j] の形状は context_dense_shapes[j] と一致します。

public List< Output <?>> contextDenseValues ()

public List< Output <?>> contextRaggedRowSplits ()

public List<出力<?>> contextRaggedValues ()

public List< Output <Long>> contextSparseIndices ()

public List< Output <Long>> contextSparseShapes ()

public List< Output <?>> contextSparseValues ()

public static ParseSequenceExampleV2 create (スコープscope,オペランド<String> シリアル化,オペランド<String> debugName,オペランド<String> contextSparseKeys,オペランド<String> contextDenseKeys,オペランド<String> contextRaggedKeys,オペランド<String> featureListSparseKeys,オペランド<String> featureListDenseKeys,オペランド<String> featureListRaggedKeys、オペランド<Boolean> featureListDenseMissingAssumedEmpty、Iterable< Operand <?>> contextDenseDefaults、List<Class<?>> contextSparseTypes、List<Class<?>> contextRaggedValueTypes、List<Class<?>> contextRaggedSplitTypes、List< Class<?>> featureListDenseTypes、List<Class<?>> featureListSparseTypes、List<Class<?>> featureListRaggedValueTypes、List<Class<?>> featureListRaggedSplitTypes、 Options...オプション)

新しい ParseSequenceExampleV2 オペレーションをラップするクラスを作成するためのファクトリ メソッド。

パラメーター
範囲現在のスコープ
連載版バイナリでシリアル化された SequenceExample プロトを含むスカラーまたはベクトル。
デバッグ名シリアル化されたプロトの名前を含むスカラーまたはベクトル。たとえば、対応するシリアル化されたプロトのテーブル キー (記述) 名が含まれる場合があります。これはデバッグ目的にのみ役立ち、ここに値が存在しても出力には影響しません。名前が使用できない場合は、空のベクトルになることもあります。
contextSparseKeys context_sparse 値に関連付けられた例の機能で期待されるキー。
contextDenseKeys SequenceExamples のコンテキスト機能で予期されるキーは、密な値に関連付けられています。
contextRaggedKeys context_ragged 値に関連付けられた例の機能で予期されるキー。
featureListSparseKeysスパース値に関連付けられたFeatureListsで予期されるキー。
featureListDenseKeys密な値のリストに関連付けられた SequenceExamples の feature_lists で予期されるキー。
featureListRaggedKeys不規則な値に関連付けられたFeatureListsで予期されるキー。
featureListDenseMissingAssumedEmpty feature_list_dense_keys と 1:1 に対応するベクトル。どの特徴が SequenceExamples に欠落している可能性があるかを示します。関連付けられたFeatureListが見つからない場合、それは空として扱われます。
contextDenseDefaults Ncontext_dense テンソルのリスト (一部は空の場合があります)。 context_dense_defaults[j] は、SequenceExample のコンテキスト マップに context_dense_key[j] がない場合のデフォルト値を提供します。 context_dense_defaults[j] に空の Tensor が指定されている場合、フィーチャー context_dense_keys[j] が必要です。入力タイプは、空の場合でも context_dense_defaults[j] から推測されます。 context_dense_defaults[j] が空でない場合、その形状は context_dense_shapes[j] と一致する必要があります。
contextSparseTypes Ncontext_sparse タイプのリスト。 context_sparse_keys で指定された各コンテキスト特徴のデータのデータ型。現在、ParseSingleSequenceExample は DT_FLOAT (FloatList)、DT_INT64 (Int64List)、および DT_STRING (BytesList) をサポートしています。
contextRaggedValueTypes RaggedTensor.value 不規則コンテキスト機能の dtypes。
contextRaggedSplitTypes不規則なコンテキスト機能の RaggedTensor.row_split dtypes。
featureListSparseTypes Nfeature_list_sparse タイプのリスト。 feature_list_sparse_keys で指定された各 FeatureList のデータのデータ型。現在、ParseSingleSequenceExample は DT_FLOAT (FloatList)、DT_INT64 (Int64List)、および DT_STRING (BytesList) をサポートしています。
featureListRaggedValueTypes不規則な FeatureList 特徴の RaggedTensor.value dtype。
featureListRaggedSplitTypes不規則な FeatureList 特徴の RaggedTensor.row_split dtypes。
オプションオプションの属性値を持ちます
戻り値
  • ParseSequenceExampleV2 の新しいインスタンス

public List< Output <Long>> featureListDenseLengths ()

public static ParseSequenceExampleV2.Options featureListDenseShapes (List< Shape > featureListDenseShapes)

パラメーター
フィーチャーリストDenseShapes Nfeature_list_dense シェイプのリスト。 feature_list_dense_keys で指定された各 FeatureList 内のデータの形状。 feature_list_dense_key[j] に対応する FeatureList 内の各フィーチャの形状は、常に feature_list_dense_shapes[j].NumEntries() と等しくなる必要があります。

public List<出力<?>> featureListDenseValues ()

public List< Output <?>> featureListRaggedInnerSplits ()

public List< Output <?>> featureListRaggedOuterSplits ()

public List<出力<?>> featureListRaggedValues ()

public List< Output <Long>> featureListSparseIndices ()

public List< Output <Long>> featureListSparseShapes ()

public List<出力<?>> featureListSparseValues ()