tensorflow::ops::ParseSequenceExample
#include <parsing_ops.h>Brain.SequenceExample protolarının (dizeler halinde) vektörünü tipli tensörlere dönüştürür.
Özet
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- Serileştirilmiş: İkili serileştirilmiş SequenceExample protolarını içeren bir vektör.
- debug_name: Serileştirilmiş protoların adlarını içeren bir vektör. Örneğin, ilgili serileştirilmiş proto için tablo anahtar (açıklayıcı) adını içerebilir. Bu tamamen hata ayıklama amaçlıdır ve buradaki değerlerin varlığı çıktıyı etkilemez. Hiçbir ad mevcut değilse boş bir vektör de olabilir.
- context_dense_defaults: N adet Ncontext_dense Tensor'dan oluşan bir liste (bazıları boş olabilir). context_dense_defaults[j], SequenceExample'ın bağlam haritasında context_dense_key[j] eksik olduğunda varsayılan değerler sağlar. context_dense_defaults[j] için boş bir Tensor sağlanırsa, Feature context_dense_keys[j] gereklidir. Giriş türü, boş olsa bile context_dense_defaults[j]'den çıkarılır. context_dense_defaults[j] boş değilse, şekli context_dense_shapes[j] ile eşleşmelidir.
- feature_list_dense_missing_assumed_empty: SequenceExamples'tan eksik olabilecek FeatureList anahtarlarını listeleyen bir vektör. İlişkili FeatureList eksikse, boş olarak kabul edilir. Varsayılan olarak, bu vektörde listelenmeyen herhangi bir FeatureList'in SequenceExamples'ta mevcut olması gerekir.
- context_sparse_keys: N adet context_sparse dize Tensor'undan (skaler) oluşan bir liste. Örneklerin özelliklerinde context_sparse değerleriyle ilişkilendirilen anahtarlar bekleniyor.
- context_dense_keys: N adet Ncontext_dense dize Tensor'undan (skaler) oluşan bir liste. SequenceExamples'ın yoğun değerlerle ilişkili bağlam özelliklerinde beklenen anahtarlar.
- feature_list_sparse_keys: N adet feature_list_sparse dize Tensor'undan (skaler) oluşan bir liste. Seyrek değerlerle ilişkili FeatureList'lerde beklenen anahtarlar.
- feature_list_dense_keys: N adet feature_list_dense dize Tensor'undan (skaler) oluşan bir liste. SequenceExamples'ın feature_list'lerinde yoğun değer listeleriyle ilişkili olarak beklenen anahtarlar.
İsteğe bağlı özellikler (bkz. Attrs ):
- context_sparse_types: N adet context_sparse türünden oluşan bir liste; context_sparse_keys'te verilen her bağlam özelliğindeki verilerin veri türleri. Şu anda ParseSingleSequenceExample, DT_FLOAT (FloatList), DT_INT64 (Int64List) ve DT_STRING (BytesList) türlerini desteklemektedir.
- context_dense_shapes: N adet context_dense şeklinin listesi; context_dense_keys'te verilen her bağlam özelliğindeki verilerin şekilleri. context_dense_key[j]'ye karşılık gelen özellikteki eleman 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şecektir.
- feature_list_sparse_types: N adet feature_list_sparse türünün listesi; feature_list_sparse_keys'te verilen her FeatureList'teki verilerin veri türleri. Şu anda ParseSingleSequenceExample , DT_FLOAT (FloatList), DT_INT64 (Int64List) ve DT_STRING (BytesList) türlerini desteklemektedir.
- feature_list_dense_shapes: N adet feature_list_dense şeklinin listesi; feature_list_dense_keys'te verilen her FeatureList'teki verilerin şekilleri. feature_list_dense_key[j]'ye karşılık gelen FeatureList'teki her Feature'ın şekli her zaman feature_list_dense_shapes[j].NumEntries()'e eşit olmalıdır.
İadeler:
-
OutputListbağlamı seyrek indeksler -
OutputListbağlamı seyrek değerler -
OutputListbağlamı seyrek şekiller -
OutputListbağlam yoğun değerleri -
OutputListözellik_listesi_seyrek_indeksler -
OutputListözellik_listesi_seyrek_değerler -
OutputListözellik_listesi_seyrek_şekiller -
OutputListözellik_listesi_yoğun_değerler -
OutputListözellik_listesi_yoğun_uzunlukları
Yapıcılar ve Yıkıcılar | |
|---|---|
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) |
Herkese açık statik fonksiyonlar | |
|---|---|
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) | |
Yapılar | |
|---|---|
| tensorflow::ops::ParseSequenceExample::Attrs | ParseSequenceExample için isteğe bağlı öznitelik ayarlayıcıları. |
Genel özellikler
bağlam_yoğun_değerler
::tensorflow::OutputList context_dense_values
bağlam_seyrek_indeksler
::tensorflow::OutputList context_sparse_indices
bağlam_seyrek_şekiller
::tensorflow::OutputList context_sparse_shapes
bağlam_seyrek_değerler
::tensorflow::OutputList context_sparse_values
özellik_listesi_yoğun_uzunlukları
::tensorflow::OutputList feature_list_dense_lengths
özellik_listesi_yoğun_değerler
::tensorflow::OutputList feature_list_dense_values
özellik_listesi_seyrek_indeksler
::tensorflow::OutputList feature_list_sparse_indices
özellik_listesi_seyrek_şekiller
::tensorflow::OutputList feature_list_sparse_shapes
özellik_listesi_seyrek_değerler
::tensorflow::OutputList feature_list_sparse_values
operasyon
Operation operation
Kamusal işlevler
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 )
Herkese açık statik fonksiyonlar
BağlamYoğunŞekiller
Attrs ContextDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
Bağlam Seyrek Tipler
Attrs ContextSparseTypes( const DataTypeSlice & x )
ÖzellikListesiYoğunŞekiller
Attrs FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
ÖzellikListesiYoğunlukTürleri
Attrs FeatureListDenseTypes( const DataTypeSlice & x )
ÖzellikListesiSeyrekTürler
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 )