-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 API and unit test for reshape #37232
Conversation
…factor_ready_merge
…factor_ready_merge
Thanks for your contribution! |
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.
LGTM
std::type_index(typeid(std::vector<int64_t>)) && | ||
std::type_index(attr.type()) == | ||
std::type_index(typeid(std::vector<int>))) { |
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.
【TODO】vector<int64>
参数类型可同时支持vector<int>
和vector<int64>
的参数
PR types
Others
PR changes
Others
Describe
Add user API and unit test for reshape and change vector to vector<int64_t> for shape