tensorflow:: ops:: RegexFullMatch

#include <string_ops.h>

入力が正規表現パターンに一致するかどうかを確認します。

まとめ

入力は任意の形状の文字列テンソルです。パターンはスカラー文字列テンソルであり、入力テンソルのすべての要素に適用されます。出力テンソルのブール値(TrueまたはFalse)は、入力が指定された正規表現パターンに一致するかどうかを示します。

このパターンはre2構文( https://github.com/google/re2/wiki/Syntax )に従います。

議論:

  • スコープ:スコープオブジェクト
  • 入力:処理対象のテキストを表す文字列テンソル。
  • パターン:入力に一致する正規表現を含むスカラー文字列テンソル。

返品:

  • Output : inputと同じ形状のブールテンソル。

コンストラクターとデストラクタ

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(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input pattern
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const