We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dropblock/dropblock/dropblock.py
Line 46 in 0ecbb63
Modify this line to " mask = (torch.rand(x.shape[0], *x.shape[2:]).to(x.device) < gamma).float() " can be dropblock run faster.
The text was updated successfully, but these errors were encountered:
Feel free to make a PR to the repository
Sorry, something went wrong.
No branches or pull requests
dropblock/dropblock/dropblock.py
Line 46 in 0ecbb63
Modify this line to " mask = (torch.rand(x.shape[0], *x.shape[2:]).to(x.device) < gamma).float() " can be dropblock run faster.
The text was updated successfully, but these errors were encountered: