Skip to content
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

add string strip text operator #458

Closed
wants to merge 1 commit into from
Closed

Conversation

ajryan
Copy link

@ajryan ajryan commented May 26, 2023

Equivalent to tf.strings.strip

For issue #459

@ajryan ajryan requested a review from a team as a code owner May 26, 2023 20:45
onnx_model = _create_test_model_string_strip('')
self.assertIn('op_type: "StringUpper"', str(onnx_model))
sess = _ort.InferenceSession(onnx_model.SerializeToString(), so)
input_1 = np.array([[" a b c "]])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a case of empty string? i.e. "".

@wenbingl
Copy link
Member

/azp run extensions.ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ajryan
Copy link
Author

ajryan commented May 26, 2023

aborting, will open again from correct account

@ajryan ajryan closed this May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants