-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Modify multiplex_op #4360
Modify multiplex_op #4360
Conversation
paddle/operators/multiplex_op.cc
Outdated
|
||
for (size_t i = 2; i < num_ins; i++) { | ||
auto in_dim = ins[0]->dims(); | ||
PADDLE_ENFORCE(in_dim.size() == 2, "Candidate tensors must be matrix."); |
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.
Candidate tensors不是必需2维吧~
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.
Removed the limitation
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
Resolve #4359