Skip to content

3146 Added callable example to the doc-string of output_transform#3158

Merged
Nic-Ma merged 14 commits intoProject-MONAI:devfrom
Nic-Ma:3146-update-output-transform-doc
Oct 22, 2021
Merged

3146 Added callable example to the doc-string of output_transform#3158
Nic-Ma merged 14 commits intoProject-MONAI:devfrom
Nic-Ma:3146-update-output-transform-doc

Conversation

@Nic-Ma
Copy link
Contributor

@Nic-Ma Nic-Ma commented Oct 20, 2021

Fixes #3146 .

Description

This PR added example callable or lambda function to the doc-string of output_transform, especially to show the decollated case.

Status

Ready

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.

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 20, 2021

/black

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 20, 2021

/build

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 20, 2021

/build

@Nic-Ma Nic-Ma mentioned this pull request Oct 21, 2021
@wyli
Copy link
Contributor

wyli commented Oct 21, 2021

/build

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 22, 2021

/black

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 22, 2021

/build

Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 22, 2021

/build

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 22, 2021

As the test PyTorch had been updated to 1.10, there is some flake8 issue, I added the fix referring to @wyli 's draft PR: #3169.

Thanks.

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma Nic-Ma enabled auto-merge (squash) October 22, 2021 08:41
@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 22, 2021

/black

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 22, 2021

/build

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 22, 2021

/build

@wyli
Copy link
Contributor

wyli commented Oct 22, 2021

/build

@Nic-Ma Nic-Ma merged commit 51bebf3 into Project-MONAI:dev Oct 22, 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.

Add output_transform example for decollated data in handlers

5 participants