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

[Fix]:fix the bug when input mask is not '0-1-tensor', support random… #2423

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

ckirchhoff2021
Copy link
Collaborator

BugFix

At first, we only consider the input mask is a '0-1' tensor, which is filled by value 0 or value 1, then the mask is multiplied to the conv output. However, the mask is a random float tensor in some actual tests case. so we have to translate it into '0-1' tensor inside the op by ourself.

@zhouzaida zhouzaida added the NPU Ascend label Nov 20, 2022
@zhouzaida zhouzaida merged commit 72ca0f3 into open-mmlab:master Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NPU Ascend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants