-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Add RegexFullMatch operator #5401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
e109fac
to
02c32d1
Compare
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
…els (onnx#5400) ### Description <!-- - Describe your changes. --> Add a sentence to highlight that output_shape for ConvTranspose should not have batch and channels. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> It's quite confusing that whether output_shape needs to be fully provided. For instance, onnx#1437. An explicit description should help prevent confusion. cc @satyajandhyala --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
88dfc73
to
574e0a5
Compare
f3a3a96
to
754cc99
Compare
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
66309bb
to
29a5b4a
Compare
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Signed-off-by: Aditya Goel <48102515+adityagoel4512@users.noreply.github.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
1ae97ce
to
b976bd8
Compare
…ator Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Would it be possible to receive a review/approval on this PR please? @gramalingam @xadupre |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just added run-release-CIs label to run release CIs (it will take effect if there is a new commit). You will need to add google-re2
in requirements-release.txt
to make release CIs pass I believe.
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
8aee616
to
5b93576
Compare
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
…nnx into regexfullmatch-operator Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Updates:
|
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
8206f2b
to
dace543
Compare
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Is there anything holding back this PR? @gramalingam @xadupre @jcwchen |
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
….onnx format string Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Description
This PR introduces the
RegexFullMatch
operator, as originally proposed in #5317.The
RegexFullMatch
operator takes one string tensor as input and returns a bool tensor of identical shape indicating if each element fully matches the regex pattern encoded in thepattern
string attribute. This attribute is a string and we expect valid re2 regex.Some examples are as follows:
Motivation and Context
Closes #5317.
Following discussion at the last Operators SIG Weekly the "engine" attribute has been dropped in favour of simply using re2 syntax for now. This reflects the fact that both Tensorflow and PyTorch operators requiring regex use re2 already.