tensor akışı:: işlem:: UnicodeScript

#include <string_ops.h>

Belirli bir Unicode tamsayı kod noktaları tensörünün kod kodlarını belirleyin.

Özet

Bu işlem, Unicode kod noktalarını, her kod noktasına karşılık gelen komut dosyası kodlarına dönüştürür. Komut dosyası kodları, International Components for Unicode (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) değerini döndürür. Çıkış şekli giriş şekliyle eşleşecektir.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • giriş: int32 Unicode kod noktalarının Tensörü .

İadeler:

  • Output : Her giriş kod noktasına karşılık gelen int32 komut dosyası kodlarının Tensörü .

Yapıcılar ve Yıkıcılar

UnicodeScript (const :: tensorflow::Scope & scope, :: tensorflow::Input input)

Genel özellikler

operation
output

Kamu işlevleri

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamu işlevleri

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