aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/api_def/base_api/api_def_StaticRegexFullMatch.pbtxt
blob: 6d9d9908ca285603d3d63443257a66731aa515ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
op {
  graph_op_name: "StaticRegexFullMatch"
  in_arg {
    name: "input"
    description: <<END
A string tensor of the text to be processed.
END
  }
  out_arg {
    name: "output"
    description: <<END
A bool tensor with the same shape as `input`.
END
  }
  attr {
    name: "pattern"
    description: "The regular expression to match the input."
  }
  summary: "Check if the input matches the regex pattern."
  description: <<END
The input is a string tensor of any shape. The pattern is the
regular expression to be matched with 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)
END
  visibility: HIDDEN
}