tensör akışı:: operasyon:: AyrıştırmaSıraÖrneğiV2
#include <parsing_ops.h>
tf.io.SequenceExample protos vektörünü (dizeler olarak) yazılan tensörlere dönüştürür.
Özet
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- serialized: İkili serileştirilmiş SequenceExample protokollerini içeren bir skaler veya vektör.
- debug_name: Serileştirilmiş protoların adlarını içeren bir skaler veya vektör. Örneğin, ilgili serileştirilmiş protokol için tablo anahtarı (açıklayıcı) adı içerebilir. Bu tamamen hata ayıklama amaçları için kullanışlıdır ve burada değerlerin varlığının çıktı üzerinde hiçbir etkisi yoktur. Ad yoksa boş bir vektör de olabilir.
- context_sparse_keys: Örneklerin context_sparse değerleriyle ilişkili özelliklerinde beklenen anahtarlar.
- context_dense_keys: Yoğun değerlerle ilişkili SequenceExamples'ın bağlam özelliklerinde beklenen anahtarlar.
- context_ragged_keys: Örneklerin context_ragged değerleriyle ilişkili özelliklerinde beklenen anahtarlar.
- feature_list_sparse_keys: Özellik Listelerinde seyrek değerlerle ilişkili olması beklenen anahtarlar.
- feature_list_dense_keys: Yoğun değerler listeleriyle ilişkili SequenceExamples'ın feature_lists'inde beklenen anahtarlar.
- feature_list_ragged_keys: Düzensiz değerlerle ilişkili Özellik Listelerinde beklenen anahtarlar.
- feature_list_dense_missing_assumed_empty: SequenceExamples'ta hangi özelliklerin eksik olabileceğini gösteren, featue_list_dense_keys ile 1:1'e karşılık gelen bir vektör. İlişkili FeatureList eksikse boş olarak kabul edilir.
- context_dense_defaults: Ncontext_dense Tensörlerinin listesi (bazıları boş olabilir). context_dense_defaults[j], SequenceExample'ın bağlam haritasında context_dense_key[j] olmadığında varsayılan değerler sağlar. context_dense_defaults[j] için boş bir Tensör sağlanırsa, context_dense_keys[j] Özelliği gereklidir. Girdi türü, boş olduğunda bile context_dense_defaults[j] öğesinden çıkarılır. context_dense_defaults[j] boş değilse, şekli context_dense_shapes[j] ile eşleşmelidir.
İsteğe bağlı özellikler (bkz. Attrs
):
- context_sparse_types: Ncontext_sparse türlerinin listesi; bağlam_sparse_keys içinde verilen her bir bağlamdaki veri türleri Özellik. Şu anda ParseSingleSequenceExample , DT_FLOAT (FloatList), DT_INT64 (Int64List) ve DT_STRING (BytesList) destekler.
- context_ragged_value_types: Düzensiz bağlam özellikleri için RaggedTensor.value türleri.
- context_ragged_split_types: Düzensiz bağlam özellikleri için RaggedTensor.row_split türleri.
- context_dense_shapes: Ncontext_dense şekillerin listesi; her bağlamdaki verilerin şekilleri context_dense_keys içinde verilen özellik. Özellikteki context_dense_key[j]'ye karşılık gelen öğelerin sayısı her zaman context_dense_shapes[j].NumEntries()'e eşit olmalıdır. context_dense_values[j]'nin şekli, context_dense_shapes[j] ile eşleşecek.
- feature_list_sparse_types: Nfeature_list_sparse türlerinin listesi; feature_list_sparse_keys içinde verilen her FeatureList'teki veri veri türleri. Şu anda ParseSingleSequenceExample , DT_FLOAT (FloatList), DT_INT64 (Int64List) ve DT_STRING (BytesList) destekler.
- feature_list_ragged_value_types: Düzensiz FeatureList özellikleri için RaggedTensor.value türleri.
- feature_list_ragged_split_types: Düzensiz FeatureList özellikleri için RaggedTensor.row_split türleri.
- feature_list_dense_shapes: Nfeature_list_dense şekillerin listesi; feature_list_dense_keys içinde verilen her bir FeatureList'teki verilerin şekilleri. FeatureList'teki feature_list_dense_key[j]'e karşılık gelen her bir Özelliğin şekli her zaman feature_list_dense_shapes[j].NumEntries()'e eşit olmalıdır.
İadeler:
-
OutputList
bağlam_sparse_indices -
OutputList
bağlam_sparse_değerleri -
OutputList
context_sparse_shapes -
OutputList
bağlam_yoğun_değerleri -
OutputList
bağlam_düzenli_değerler -
OutputList
context_ragged_row_splits -
OutputList
feature_list_sparse_indices -
OutputList
feature_list_sparse_values -
OutputList
feature_list_sparse_shapes -
OutputList
feature_list_dense_values -
OutputList
feature_list_dense_lengths -
OutputList
feature_list_ragged_values -
OutputList
feature_list_ragged_outer_splits -
OutputList
feature_list_ragged_inner_splits
Yapıcılar ve Yıkıcılar | |
---|---|
ParseSequenceExampleV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, :: tensorflow::Input debug_name, :: tensorflow::Input context_sparse_keys, :: tensorflow::Input context_dense_keys, :: tensorflow::Input context_ragged_keys, :: tensorflow::Input feature_list_sparse_keys, :: tensorflow::Input feature_list_dense_keys, :: tensorflow::Input feature_list_ragged_keys, :: tensorflow::Input feature_list_dense_missing_assumed_empty, :: tensorflow::InputList context_dense_defaults) | |
ParseSequenceExampleV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, :: tensorflow::Input debug_name, :: tensorflow::Input context_sparse_keys, :: tensorflow::Input context_dense_keys, :: tensorflow::Input context_ragged_keys, :: tensorflow::Input feature_list_sparse_keys, :: tensorflow::Input feature_list_dense_keys, :: tensorflow::Input feature_list_ragged_keys, :: tensorflow::Input feature_list_dense_missing_assumed_empty, :: tensorflow::InputList context_dense_defaults, const ParseSequenceExampleV2::Attrs & attrs) |
Genel statik işlevler | |
---|---|
ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
ContextRaggedSplitTypes (const DataTypeSlice & x) | |
ContextRaggedValueTypes (const DataTypeSlice & x) | |
ContextSparseTypes (const DataTypeSlice & x) | |
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
FeatureListDenseTypes (const DataTypeSlice & x) | |
FeatureListRaggedSplitTypes (const DataTypeSlice & x) | |
FeatureListRaggedValueTypes (const DataTypeSlice & x) | |
FeatureListSparseTypes (const DataTypeSlice & x) | |
NcontextSparse (int64 x) | |
NfeatureListDense (int64 x) | |
NfeatureListSparse (int64 x) |
yapılar | |
---|---|
tensorflow:: ops:: ParseSequenceExampleV2:: Öznitelikler | ParseSequenceExampleV2 için isteğe bağlı öznitelik ayarlayıcılar. |
Genel özellikler
bağlam_dense_değerleri
::tensorflow::OutputList context_dense_values
context_ragged_row_splits
::tensorflow::OutputList context_ragged_row_splits
bağlam_düzenli_değerler
::tensorflow::OutputList context_ragged_values
bağlam_sparse_indices
::tensorflow::OutputList context_sparse_indices
context_sparse_shapes
::tensorflow::OutputList context_sparse_shapes
bağlam_sparse_değerleri
::tensorflow::OutputList context_sparse_values
feature_list_dense_lengths
::tensorflow::OutputList feature_list_dense_lengths
feature_list_dense_values
::tensorflow::OutputList feature_list_dense_values
feature_list_ragged_inner_splits
::tensorflow::OutputList feature_list_ragged_inner_splits
feature_list_ragged_outer_splits
::tensorflow::OutputList feature_list_ragged_outer_splits
feature_list_ragged_values
::tensorflow::OutputList feature_list_ragged_values
feature_list_sparse_indices
::tensorflow::OutputList feature_list_sparse_indices
feature_list_sparse_shapes
::tensorflow::OutputList feature_list_sparse_shapes
feature_list_sparse_values
::tensorflow::OutputList feature_list_sparse_values
operasyon
Operation operation
Kamu işlevleri
AyrıştırmaSıraÖrneğiV2
ParseSequenceExampleV2( const ::tensorflow::Scope & scope, ::tensorflow::Input serialized, ::tensorflow::Input debug_name, ::tensorflow::Input context_sparse_keys, ::tensorflow::Input context_dense_keys, ::tensorflow::Input context_ragged_keys, ::tensorflow::Input feature_list_sparse_keys, ::tensorflow::Input feature_list_dense_keys, ::tensorflow::Input feature_list_ragged_keys, ::tensorflow::Input feature_list_dense_missing_assumed_empty, ::tensorflow::InputList context_dense_defaults )
AyrıştırmaSıraÖrneğiV2
ParseSequenceExampleV2( const ::tensorflow::Scope & scope, ::tensorflow::Input serialized, ::tensorflow::Input debug_name, ::tensorflow::Input context_sparse_keys, ::tensorflow::Input context_dense_keys, ::tensorflow::Input context_ragged_keys, ::tensorflow::Input feature_list_sparse_keys, ::tensorflow::Input feature_list_dense_keys, ::tensorflow::Input feature_list_ragged_keys, ::tensorflow::Input feature_list_dense_missing_assumed_empty, ::tensorflow::InputList context_dense_defaults, const ParseSequenceExampleV2::Attrs & attrs )
Genel statik işlevler
BağlamYoğunŞekiller
Attrs ContextDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
ContextRaggedSplitTypes
Attrs ContextRaggedSplitTypes( const DataTypeSlice & x )
ContextRaggedValueTypes
Attrs ContextRaggedValueTypes( const DataTypeSlice & x )
BağlamSparseTypes
Attrs ContextSparseTypes( const DataTypeSlice & x )
ÖzellikListesiDenseShapes
Attrs FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
ÖzellikListesiDenseTypes
Attrs FeatureListDenseTypes( const DataTypeSlice & x )
ÖzellikListesiRaggedSplitTypes
Attrs FeatureListRaggedSplitTypes( const DataTypeSlice & x )
ÖzellikListesiRaggedValueTypes
Attrs FeatureListRaggedValueTypes( const DataTypeSlice & x )
Özellik ListesiSparseTypes
Attrs FeatureListSparseTypes( const DataTypeSlice & x )
NcontextSparse
Attrs NcontextSparse( int64 x )
NözellikListesiYoğun
Attrs NfeatureListDense( int64 x )
Özellik ListesiSparse
Attrs NfeatureListSparse( int64 x )
tensör akışı:: operasyon:: AyrıştırmaSıraÖrneğiV2
#include <parsing_ops.h>
tf.io.SequenceExample protos vektörünü (dizeler olarak) yazılan tensörlere dönüştürür.
Özet
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- serialized: İkili serileştirilmiş SequenceExample protokollerini içeren bir skaler veya vektör.
- debug_name: Serileştirilmiş protoların adlarını içeren bir skaler veya vektör. Örneğin, ilgili serileştirilmiş protokol için tablo anahtarı (açıklayıcı) adı içerebilir. Bu tamamen hata ayıklama amaçları için kullanışlıdır ve burada değerlerin varlığının çıktı üzerinde hiçbir etkisi yoktur. Ad yoksa boş bir vektör de olabilir.
- context_sparse_keys: Örneklerin context_sparse değerleriyle ilişkili özelliklerinde beklenen anahtarlar.
- context_dense_keys: Yoğun değerlerle ilişkili SequenceExamples'ın bağlam özelliklerinde beklenen anahtarlar.
- context_ragged_keys: Örneklerin context_ragged değerleriyle ilişkili özelliklerinde beklenen anahtarlar.
- feature_list_sparse_keys: Özellik Listelerinde seyrek değerlerle ilişkili olması beklenen anahtarlar.
- feature_list_dense_keys: Yoğun değerler listeleriyle ilişkili SequenceExamples'ın feature_lists'inde beklenen anahtarlar.
- feature_list_ragged_keys: Düzensiz değerlerle ilişkili Özellik Listelerinde beklenen anahtarlar.
- feature_list_dense_missing_assumed_empty: SequenceExamples'ta hangi özelliklerin eksik olabileceğini gösteren, featue_list_dense_keys ile 1:1'e karşılık gelen bir vektör. İlişkili FeatureList eksikse boş olarak kabul edilir.
- context_dense_defaults: Ncontext_dense Tensörlerinin listesi (bazıları boş olabilir). context_dense_defaults[j], SequenceExample'ın bağlam haritasında context_dense_key[j] olmadığında varsayılan değerler sağlar. context_dense_defaults[j] için boş bir Tensör sağlanırsa, context_dense_keys[j] Özelliği gereklidir. Girdi türü, boş olduğunda bile context_dense_defaults[j] öğesinden çıkarılır. context_dense_defaults[j] boş değilse, şekli context_dense_shapes[j] ile eşleşmelidir.
İsteğe bağlı özellikler (bkz. Attrs
):
- context_sparse_types: Ncontext_sparse türlerinin listesi; bağlam_sparse_keys içinde verilen her bir bağlamdaki veri türleri Özellik. Şu anda ParseSingleSequenceExample , DT_FLOAT (FloatList), DT_INT64 (Int64List) ve DT_STRING (BytesList) destekler.
- context_ragged_value_types: Düzensiz bağlam özellikleri için RaggedTensor.value türleri.
- context_ragged_split_types: Düzensiz bağlam özellikleri için RaggedTensor.row_split türleri.
- context_dense_shapes: Ncontext_dense şekillerin listesi; her bağlamdaki verilerin şekilleri context_dense_keys içinde verilen özellik. Özellikteki context_dense_key[j]'ye karşılık gelen öğelerin sayısı her zaman context_dense_shapes[j].NumEntries()'e eşit olmalıdır. context_dense_values[j]'nin şekli, context_dense_shapes[j] ile eşleşecek.
- feature_list_sparse_types: Nfeature_list_sparse türlerinin listesi; feature_list_sparse_keys içinde verilen her FeatureList'teki veri veri türleri. Şu anda ParseSingleSequenceExample , DT_FLOAT (FloatList), DT_INT64 (Int64List) ve DT_STRING (BytesList) destekler.
- feature_list_ragged_value_types: Düzensiz FeatureList özellikleri için RaggedTensor.value türleri.
- feature_list_ragged_split_types: Düzensiz FeatureList özellikleri için RaggedTensor.row_split türleri.
- feature_list_dense_shapes: Nfeature_list_dense şekillerin listesi; feature_list_dense_keys içinde verilen her bir FeatureList'teki verilerin şekilleri. FeatureList'teki feature_list_dense_key[j]'e karşılık gelen her bir Özelliğin şekli her zaman feature_list_dense_shapes[j].NumEntries()'e eşit olmalıdır.
İadeler:
-
OutputList
bağlam_sparse_indices -
OutputList
bağlam_sparse_değerleri -
OutputList
context_sparse_shapes -
OutputList
bağlam_yoğun_değerleri -
OutputList
bağlam_düzenli_değerler -
OutputList
context_ragged_row_splits -
OutputList
feature_list_sparse_indices -
OutputList
feature_list_sparse_values -
OutputList
feature_list_sparse_shapes -
OutputList
feature_list_dense_values -
OutputList
feature_list_dense_lengths -
OutputList
feature_list_ragged_values -
OutputList
feature_list_ragged_outer_splits -
OutputList
feature_list_ragged_inner_splits
Yapıcılar ve Yıkıcılar | |
---|---|
ParseSequenceExampleV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, :: tensorflow::Input debug_name, :: tensorflow::Input context_sparse_keys, :: tensorflow::Input context_dense_keys, :: tensorflow::Input context_ragged_keys, :: tensorflow::Input feature_list_sparse_keys, :: tensorflow::Input feature_list_dense_keys, :: tensorflow::Input feature_list_ragged_keys, :: tensorflow::Input feature_list_dense_missing_assumed_empty, :: tensorflow::InputList context_dense_defaults) | |
ParseSequenceExampleV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, :: tensorflow::Input debug_name, :: tensorflow::Input context_sparse_keys, :: tensorflow::Input context_dense_keys, :: tensorflow::Input context_ragged_keys, :: tensorflow::Input feature_list_sparse_keys, :: tensorflow::Input feature_list_dense_keys, :: tensorflow::Input feature_list_ragged_keys, :: tensorflow::Input feature_list_dense_missing_assumed_empty, :: tensorflow::InputList context_dense_defaults, const ParseSequenceExampleV2::Attrs & attrs) |
Genel statik işlevler | |
---|---|
ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
ContextRaggedSplitTypes (const DataTypeSlice & x) | |
ContextRaggedValueTypes (const DataTypeSlice & x) | |
ContextSparseTypes (const DataTypeSlice & x) | |
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
FeatureListDenseTypes (const DataTypeSlice & x) | |
FeatureListRaggedSplitTypes (const DataTypeSlice & x) | |
FeatureListRaggedValueTypes (const DataTypeSlice & x) | |
FeatureListSparseTypes (const DataTypeSlice & x) | |
NcontextSparse (int64 x) | |
NfeatureListDense (int64 x) | |
NfeatureListSparse (int64 x) |
yapılar | |
---|---|
tensorflow:: ops:: ParseSequenceExampleV2:: Öznitelikler | ParseSequenceExampleV2 için isteğe bağlı öznitelik ayarlayıcılar. |
Genel özellikler
bağlam_dense_değerleri
::tensorflow::OutputList context_dense_values
context_ragged_row_splits
::tensorflow::OutputList context_ragged_row_splits
bağlam_düzenli_değerler
::tensorflow::OutputList context_ragged_values
bağlam_sparse_indices
::tensorflow::OutputList context_sparse_indices
context_sparse_shapes
::tensorflow::OutputList context_sparse_shapes
bağlam_sparse_değerleri
::tensorflow::OutputList context_sparse_values
feature_list_dense_lengths
::tensorflow::OutputList feature_list_dense_lengths
feature_list_dense_values
::tensorflow::OutputList feature_list_dense_values
feature_list_ragged_inner_splits
::tensorflow::OutputList feature_list_ragged_inner_splits
feature_list_ragged_outer_splits
::tensorflow::OutputList feature_list_ragged_outer_splits
feature_list_ragged_values
::tensorflow::OutputList feature_list_ragged_values
feature_list_sparse_indices
::tensorflow::OutputList feature_list_sparse_indices
feature_list_sparse_shapes
::tensorflow::OutputList feature_list_sparse_shapes
feature_list_sparse_values
::tensorflow::OutputList feature_list_sparse_values
operasyon
Operation operation
Kamu işlevleri
AyrıştırmaSıraÖrneğiV2
ParseSequenceExampleV2( const ::tensorflow::Scope & scope, ::tensorflow::Input serialized, ::tensorflow::Input debug_name, ::tensorflow::Input context_sparse_keys, ::tensorflow::Input context_dense_keys, ::tensorflow::Input context_ragged_keys, ::tensorflow::Input feature_list_sparse_keys, ::tensorflow::Input feature_list_dense_keys, ::tensorflow::Input feature_list_ragged_keys, ::tensorflow::Input feature_list_dense_missing_assumed_empty, ::tensorflow::InputList context_dense_defaults )
AyrıştırmaSıraÖrneğiV2
ParseSequenceExampleV2( const ::tensorflow::Scope & scope, ::tensorflow::Input serialized, ::tensorflow::Input debug_name, ::tensorflow::Input context_sparse_keys, ::tensorflow::Input context_dense_keys, ::tensorflow::Input context_ragged_keys, ::tensorflow::Input feature_list_sparse_keys, ::tensorflow::Input feature_list_dense_keys, ::tensorflow::Input feature_list_ragged_keys, ::tensorflow::Input feature_list_dense_missing_assumed_empty, ::tensorflow::InputList context_dense_defaults, const ParseSequenceExampleV2::Attrs & attrs )
Genel statik işlevler
BağlamYoğunŞekiller
Attrs ContextDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
ContextRaggedSplitTypes
Attrs ContextRaggedSplitTypes( const DataTypeSlice & x )