Skip to content

What is the purpose of SUPPORTED_DROPOUT_MODE in MLPBlock #7826

Answered by KumoLiu
clamcy asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @clamcy, thanks for your interest here.

The difference is described here: https://github.com/Project-MONAI/MONAI/blob/08d572839ede5d087e49d4dfadba033e512528df/monai/networks/blocks/mlp.py#L37C13-L41C95
"vit" mode uses two dropout instances and "swin" will only use one.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@clamcy
Comment options

Answer selected by clamcy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants