tensorflow::ops::RegexFullMatch

#include <string_ops.h>

Check if the input matches the regex pattern.

Summary

The input is a string tensor of any shape. The pattern is a scalar string tensor which is applied to every element of the input tensor. The boolean values (True or False) of the output tensor indicate if the input matches the regex pattern provided.

The pattern follows the re2 syntax (https://github.com/google/re2/wiki/Syntax)

Arguments:

  • scope: A Scope object
  • input: A string tensor of the text to be processed.
  • pattern: A 1-D string tensor of the regular expression to match the input.

Returns:

  • Output: A bool tensor with the same shape as input.

Constructors and Destructors

RegexFullMatch(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input pattern)

Public attributes

output

Public functions

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

Public attributes

output

::tensorflow::Output output

Public functions

RegexFullMatch

 RegexFullMatch(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input pattern
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const