tensorflow:: ops:: ParseSequenceExample
#include <parsing_ops.h>brain.SequenceExample プロトコルのベクトル (文字列として) を型付きテンソルに変換します。
まとめ
議論:
- スコープ:スコープオブジェクト
- serialized: バイナリシリアル化された SequenceExample プロトコルを含むベクトル。
- debug_name: シリアライズされたプロトコルの名前を含むベクトル。例えば、対応するシリアライズされたプロトコルのテーブルキー(説明的な)名前などが含まれる場合があります。これはデバッグ目的のみに使用され、ここに値が存在しても出力には影響しません。名前がない場合は、空のベクトルになることもあります。
- context_dense_defaults: Ncontext_dense テンソルのリスト (一部は空でも可)。context_dense_defaults[j] は、SequenceExample のコンテキスト マップに context_dense_key[j] がない場合にデフォルト値を提供します。context_dense_defaults[j] に空のテンソルが指定されている場合は、Feature context_dense_keys[j] が必要です。入力タイプは、context_dense_defaults[j] が空の場合でも、そこから推論されます。context_dense_defaults[j] が空でない場合は、その形状が context_dense_shapes[j] と一致する必要があります。
- feature_list_dense_missing_assumed_empty: SequenceExamples に存在しない可能性のある FeatureList キーをリストしたベクトル。関連付けられた FeatureList が存在しない場合、それは空として扱われます。デフォルトでは、このベクトルにリストされていない FeatureList はすべて SequenceExamples に存在する必要があります。
- context_sparse_keys: Ncontext_sparse文字列テンソル(スカラー)のリスト。context_sparse値に関連付けられたExamplesの特徴量で想定されるキー。
- context_dense_keys: Ncontext_dense 個の文字列テンソル (スカラー) のリスト。SequenceExamples のコンテキスト機能で、高密度値に関連付けられるキーです。
- feature_list_sparse_keys: Nfeature_list_sparse 文字列テンソル (スカラー) のリスト。疎な値に関連付けられた FeatureLists で想定されるキーです。
- feature_list_dense_keys: Nfeature_list_dense 個の文字列テンソル (スカラー) のリスト。SequenceExamples の、密な値のリストに関連付けられた feature_lists で想定されるキーです。
オプション属性( Attrs参照):
- context_sparse_types: Ncontext_sparse型のリスト。context_sparse_keysで指定された各コンテキスト機能内のデータのデータ型。現在、 ParseSingleSequenceExampleはDT_FLOAT(FloatList)、DT_INT64(Int64List)、およびDT_STRING(BytesList)をサポートしています。
- context_dense_shapes: Ncontext_dense 個の形状のリスト。各 context Feature 内のデータの形状は context_dense_keys で指定されます。context_dense_key[j] に対応する Feature 内の要素数は、常に context_dense_shapes[j].NumEntries() と等しくなければなりません。context_dense_values[j] の形状は context_dense_shapes[j] と一致します。
- feature_list_sparse_types: Nfeature_list_sparse型のリスト。各FeatureList内のデータのデータ型はfeature_list_sparse_keysで指定されます。現在、 ParseSingleSequenceExampleはDT_FLOAT(FloatList)、DT_INT64(Int64List)、およびDT_STRING(BytesList)をサポートしています。
- feature_list_dense_shapes: Nfeature_list_dense 個の形状のリスト。各 FeatureList 内のデータの形状は feature_list_dense_keys で指定されます。feature_list_dense_key[j] に対応する FeatureList 内の各 Feature の形状は、常に feature_list_dense_shapes[j].NumEntries() と等しくなければなりません。
返品:
-
OutputListコンテキスト_スパースインデックス OutputListコンテキスト_スパース値OutputListコンテキスト_スパース形状OutputListコンテキスト_高密度値OutputListfeature_list_sparse_indices-
OutputListfeature_list_sparse_values -
OutputListfeature_list_sparse_shapes -
OutputListfeature_list_dense_values -
OutputListfeature_list_dense_lengths
コンストラクターとデストラクタ | |
|---|---|
ParseSequenceExample (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, :: tensorflow::Input debug_name, :: tensorflow::InputList context_dense_defaults, const gtl::ArraySlice< string > & feature_list_dense_missing_assumed_empty, const gtl::ArraySlice< string > & context_sparse_keys, const gtl::ArraySlice< string > & context_dense_keys, const gtl::ArraySlice< string > & feature_list_sparse_keys, const gtl::ArraySlice< string > & feature_list_dense_keys) | |
ParseSequenceExample (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, :: tensorflow::Input debug_name, :: tensorflow::InputList context_dense_defaults, const gtl::ArraySlice< string > & feature_list_dense_missing_assumed_empty, const gtl::ArraySlice< string > & context_sparse_keys, const gtl::ArraySlice< string > & context_dense_keys, const gtl::ArraySlice< string > & feature_list_sparse_keys, const gtl::ArraySlice< string > & feature_list_dense_keys, const ParseSequenceExample::Attrs & attrs) |
パブリック静的関数 | |
|---|---|
ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
ContextSparseTypes (const DataTypeSlice & x) | |
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
FeatureListDenseTypes (const DataTypeSlice & x) | |
FeatureListSparseTypes (const DataTypeSlice & x) | |
NcontextDense (int64 x) | |
NcontextSparse (int64 x) | |
NfeatureListDense (int64 x) | |
NfeatureListSparse (int64 x) | |
構造 | |
|---|---|
| tensorflow:: ops:: ParseSequenceExample:: Attrs | ParseSequenceExampleのオプション属性セッター。 |
公開属性
コンテキスト_高密度値
::tensorflow::OutputList context_dense_values
コンテキスト_スパースインデックス
::tensorflow::OutputList context_sparse_indices
コンテキスト_スパース形状
::tensorflow::OutputList context_sparse_shapes
コンテキスト_スパース値
::tensorflow::OutputList context_sparse_values
特徴リストの密な長さ
::tensorflow::OutputList feature_list_dense_lengths
機能リストの高密度値
::tensorflow::OutputList feature_list_dense_values
特徴リストの疎なインデックス
::tensorflow::OutputList feature_list_sparse_indices
特徴リスト_疎な形状
::tensorflow::OutputList feature_list_sparse_shapes
特徴リストの疎な値
::tensorflow::OutputList feature_list_sparse_values
手術
Operation operation
公的機能
ParseSequenceExample
ParseSequenceExample( const ::tensorflow::Scope & scope, ::tensorflow::Input serialized, ::tensorflow::Input debug_name, ::tensorflow::InputList context_dense_defaults, const gtl::ArraySlice< string > & feature_list_dense_missing_assumed_empty, const gtl::ArraySlice< string > & context_sparse_keys, const gtl::ArraySlice< string > & context_dense_keys, const gtl::ArraySlice< string > & feature_list_sparse_keys, const gtl::ArraySlice< string > & feature_list_dense_keys )
ParseSequenceExample
ParseSequenceExample( const ::tensorflow::Scope & scope, ::tensorflow::Input serialized, ::tensorflow::Input debug_name, ::tensorflow::InputList context_dense_defaults, const gtl::ArraySlice< string > & feature_list_dense_missing_assumed_empty, const gtl::ArraySlice< string > & context_sparse_keys, const gtl::ArraySlice< string > & context_dense_keys, const gtl::ArraySlice< string > & feature_list_sparse_keys, const gtl::ArraySlice< string > & feature_list_dense_keys, const ParseSequenceExample::Attrs & attrs )
パブリック静的関数
コンテキストの密な形状
Attrs ContextDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
コンテキストスパースタイプ
Attrs ContextSparseTypes( const DataTypeSlice & x )
FeatureListDenseShapes
Attrs FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
FeatureListDenseTypes
Attrs FeatureListDenseTypes( const DataTypeSlice & x )
FeatureListSparseTypes
Attrs FeatureListSparseTypes( const DataTypeSlice & x )
NcontextDense
Attrs NcontextDense( int64 x )
NcontextSparse
Attrs NcontextSparse( int64 x )
NfeatureListDense
Attrs NfeatureListDense( int64 x )
NfeatureListSparse
Attrs NfeatureListSparse( int64 x )