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

Update docstring dropout #770

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Update docstring dropout #770

merged 1 commit into from
Jul 16, 2024

Conversation

dmetivie
Copy link
Contributor

The current docstring for dropout suggests that Dropout(p, dims = 3) is equivalent to Dropout 2D for a WHCN input.
I think Dropout(p, dims = (3, 4)) is the actual Dropout2D.
The current version dropout the same channel for each sample (fourth dimension), while the proposed version drops independently channels for each sample of the batch.

@avik-pal avik-pal merged commit 29e466f into LuxDL:main Jul 16, 2024
14 checks passed
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.

2 participants