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

Allow creation of string tensor sequence. #3048

Merged
merged 1 commit into from
Feb 20, 2020
Merged

Conversation

pranavsharma
Copy link
Contributor

Description: Allow creation of string tensor sequence.

Motivation and Context
Fixes #3044.

@pranavsharma pranavsharma requested a review from a team as a code owner February 20, 2020 03:36
@pranavsharma
Copy link
Contributor Author

Doesn't necessarily have to be part of 1.2 release.

@@ -1108,7 +1108,7 @@ static OrtStatus* OrtCreateValueImplSeqHelper(const OrtValue* const* in, size_t
}

OrtStatus* st{};
utils::MLTypeCallDispatcherRet<OrtStatus*, CallCreateValueImpl, bool, float, double,
utils::MLTypeCallDispatcherRet<OrtStatus*, CallCreateValueImpl, bool, float, double, std::string,
Copy link
Member

Choose a reason for hiding this comment

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

This dispatcher is so great!

@pranavsharma pranavsharma merged commit 21f9a8b into master Feb 20, 2020
@pranavsharma pranavsharma deleted the seq_of_string branch February 20, 2020 19:27
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.

cannot create sequence of string tensor
2 participants