Skip to content

2925 Add device option to EnsureType#2942

Merged
wyli merged 9 commits into
Project-MONAI:devfrom
Nic-Ma:2925-add-device-ensuretype
Sep 13, 2021
Merged

2925 Add device option to EnsureType#2942
wyli merged 9 commits into
Project-MONAI:devfrom
Nic-Ma:2925-add-device-ensuretype

Conversation

@Nic-Ma

@Nic-Ma Nic-Ma commented Sep 13, 2021

Copy link
Copy Markdown
Contributor

Fixes #2925 .

Description

This PR is follow up of #2925, added device to EnsureType.

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

Nic-Ma commented Sep 13, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli September 13, 2021 15:04
@madil90

madil90 commented Sep 13, 2021

Copy link
Copy Markdown
Contributor

/build

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
@wyli wyli enabled auto-merge (squash) September 13, 2021 22:37
@wyli wyli merged commit 7ab0711 into Project-MONAI:dev Sep 13, 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.

ToTensor Device

3 participants