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

Add str type annotation to device parameter in ToTensorD #6737

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

function2-llx
Copy link
Contributor

Description

A simple fix adding str type annotation to the device parameter in ToTensorD, making it consistent with ToTensor. As this fix is very simple, I hope it's okay I don't create an issue in advance.

Signed-off-by: function2 <function2-llx@outlook.com>
Copy link
Member

@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
Member

wyli commented Jul 18, 2023

/build

@wyli wyli enabled auto-merge (squash) July 18, 2023 12:49
@wyli wyli disabled auto-merge July 18, 2023 13:00
@wyli wyli enabled auto-merge (squash) July 18, 2023 13:00
@wyli wyli merged commit b8c3e86 into Project-MONAI:dev Jul 18, 2023
33 of 37 checks passed
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.

None yet

2 participants