テンソルフロー::作戦:: RegexFullMatch
#include <string_ops.h>入力が正規表現パターンと一致するかどうかを確認します。
まとめ
入力は、任意の形状の文字列テンソルです。パターンは、入力テンソルのすべての要素に適用されるスカラー文字列テンソルです。出力テンソルのブール値 (True または False) は、入力が指定された正規表現パターンに一致するかどうかを示します。
パターンは re2 構文に従います ( https://github.com/google/re2/wiki/Syntax )
例:
 tf.strings.regex_full_match(["TF lib", "lib TF"], ".*lib$")
引数:
- スコープ:スコープオブジェクト
- input: 処理されるテキストの文字列テンソル。
- pattern: 入力と一致する正規表現を含むスカラー文字列テンソル。
戻り値:
-  Output:inputと同じ形状の bool テンソル。
| コンストラクターとデストラクター | |
|---|---|
| RegexFullMatch (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input pattern) | 
| パブリック属性 | |
|---|---|
| operation | |
| output | |
| 公共機能 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
パブリック属性
手術
Operation operation
出力
::tensorflow::Output output
公共機能
RegexFullMatch
RegexFullMatch( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input pattern )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const