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

5853: GEGLU activation function for the MLP Block. #5856

Merged
merged 7 commits into from
Jan 19, 2023

Conversation

Shadow-Devil
Copy link
Contributor

@Shadow-Devil Shadow-Devil commented Jan 16, 2023

Fixes #5853.

Description

Add GEGLU activation function for the MLP Block.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • New tests added to cover the changes.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Shadow-Devil Shadow-Devil force-pushed the issue/5853 branch 2 times, most recently from 412cb09 to 10f8a58 Compare January 19, 2023 18:20
@Shadow-Devil
Copy link
Contributor Author

Do I need to add tests for this?
For the other activation functions, I couldn't find any tests, so I'm unsure how to do that.

@Shadow-Devil Shadow-Devil marked this pull request as ready for review January 19, 2023 18:27
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Copy link
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it looks good to me.

@wyli
Copy link
Contributor

wyli commented Jan 19, 2023

/build

@wyli wyli enabled auto-merge (squash) January 19, 2023 20:16
@wyli wyli merged commit 5c778ad into Project-MONAI:dev Jan 19, 2023
@Shadow-Devil Shadow-Devil deleted the issue/5853 branch January 23, 2023 12:44
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.

Make MLPBlock compatible with diffusion models
2 participants