tensorflow :: ops :: RegexFullMatch
#include <string_ops.h>
Girişin normal ifade kalıbıyla eşleşip eşleşmediğini kontrol edin.
Özet
Girdi, herhangi bir şeklin bir string tensörüdür. Model, giriş tensörünün her elemanına uygulanan skaler bir dizi tensörüdür. Çıkış tensörünün boole değerleri (Doğru veya Yanlış), girdinin sağlanan normal ifade deseniyle eşleşip eşleşmediğini gösterir.
Kalıp re2 sözdizimini izler ( https://github.com/google/re2/wiki/Syntax )
Argümanlar:
- kapsam: Bir Scope nesnesi
- girdi: İşlenecek metnin bir dize tensörü.
- pattern: Girişle eşleşecek normal ifadeyi içeren skaler bir dize tensörü.
İadeler:
-
Output
: aynı şekle sahip bir BOOL tensörinput
.
Yapıcılar ve Yıkıcılar | |
---|---|
RegexFullMatch (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input pattern) |
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
RegexFullMatch
RegexFullMatch( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input pattern )
düğüm
::tensorflow::Node * node() const
operator :: tensorflow :: Girdi
operator::tensorflow::Input() const
operator :: tensorflow :: Çıktı
operator::tensorflow::Output() const