Skip to content

2369 refactoring decollate#2379

Merged
Nic-Ma merged 5 commits intoProject-MONAI:devfrom
wyli:refactor-decollate
Jun 18, 2021
Merged

2369 refactoring decollate#2379
Nic-Ma merged 5 commits intoProject-MONAI:devfrom
wyli:refactor-decollate

Conversation

@wyli
Copy link
Copy Markdown
Contributor

@wyli wyli commented Jun 16, 2021

Signed-off-by: Wenqi Li [email protected]

Fixes #2369

Description

simplified the decollate logic

Status

Ready

Types of changes

  • 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.

@wyli wyli requested review from Nic-Ma and rijobro June 16, 2021 16:51
@wyli wyli force-pushed the refactor-decollate branch from b27d7e7 to ceffcb5 Compare June 16, 2021 16:55
@wyli wyli marked this pull request as ready for review June 16, 2021 18:11
@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Jun 16, 2021

/integration-test

@wyli wyli mentioned this pull request Jun 16, 2021
7 tasks
@wyli wyli force-pushed the refactor-decollate branch from ce18741 to 442a9f6 Compare June 16, 2021 18:42
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma left a comment

Choose a reason for hiding this comment

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

Thanks for refactoring the decollate logic, I put a minor comment about the detach=detach arg in the recursive call, others look good to me.

Thanks.

wyli added 3 commits June 17, 2021 17:28
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
@wyli wyli force-pushed the refactor-decollate branch 3 times, most recently from 2575f33 to 11394d6 Compare June 17, 2021 21:31
@wyli wyli force-pushed the refactor-decollate branch from 11394d6 to 9301aaf Compare June 17, 2021 21:32
Signed-off-by: Wenqi Li <[email protected]>
@Nic-Ma Nic-Ma merged commit 0693729 into Project-MONAI:dev Jun 18, 2021
@wyli wyli deleted the refactor-decollate branch June 18, 2021 07:42
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.

Should detach the Tensor before decollate_batch

2 participants