Skip to content

2251 Update type hints for act and norm#2254

Merged
wyli merged 1 commit intoProject-MONAI:devfrom
yiheng-wang-nv:2251-enhance-aspp
May 26, 2021
Merged

2251 Update type hints for act and norm#2254
wyli merged 1 commit intoProject-MONAI:devfrom
yiheng-wang-nv:2251-enhance-aspp

Conversation

@yiheng-wang-nv
Copy link
Copy Markdown
Contributor

Signed-off-by: Yiheng Wang [email protected]

Fixes #2251 .

Description

A few sentences describing the changes proposed in this pull request.

Status

Ready/Work in progress/Hold

Types of changes

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

@yiheng-wang-nv yiheng-wang-nv requested review from Nic-Ma and wyli May 26, 2021 12:35
Comment on lines +40 to +41
norm_type: Optional[Union[Tuple, str]] = "BATCH",
acti_type: Optional[Union[Tuple, str]] = "LEAKYRELU",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What's wrong with leaving the right sight of the equals as they were? E.g., Norm.BATCH and Act.LEAKYRELU?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ok, thanks!

@wyli wyli merged commit fbfda15 into Project-MONAI:dev May 26, 2021
wyli pushed a commit that referenced this pull request May 26, 2021
wyli pushed a commit that referenced this pull request May 26, 2021
wyli pushed a commit that referenced this pull request May 26, 2021
wyli pushed a commit that referenced this pull request May 26, 2021
wyli pushed a commit that referenced this pull request May 26, 2021
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.

ASPP type hints need to be updated

3 participants