tensorflow::ops::UnicodeScript
#include <string_ops.h>Verilen Unicode tamsayı kod noktaları tensörünün yazı kodlarını belirleyin.
Özet
Bu işlem, Unicode kod noktalarını her bir kod noktasına karşılık gelen yazı tipi kodlarına dönüştürür. Yazı tipi kodları, Uluslararası Unicode Bileşenleri (ICU) UScriptCode değerlerine karşılık gelir. Bkz. http://icu-project.org/apiref/icu4c/uscript_8h.html . Geçersiz kod noktaları için -1 (USCRIPT_INVALID_CODE) döndürür. Çıktı şekli, giriş şekliyle eşleşecektir.
Örnekler:
tf.strings.unicode_script([1, 31, 38])
Argümanlar:
İadeler:
Yapıcılar ve Yıkıcılar | |
|---|---|
UnicodeScript (const :: tensorflow::Scope & scope, :: tensorflow::Input input) |
Genel özellikler | |
|---|---|
operation | |
output | |
Kamusal işlevler | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamusal işlevler
UnicodeScript
UnicodeScript( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const