-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add dtype to ScaleIntensityRange transforms
#3235
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
Conversation
merge master
merge master
merge master
merge master
merge master
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
for more information, see https://pre-commit.ci
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
|
/build |
Signed-off-by: Nic Ma <nma@nvidia.com>
|
I also fixed the data in / out type issue in histogram_normalize transform. Thanks. |
|
/black |
|
/build |
|
Thanks for this! |
|
/integration-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel in many cases now it's good to use the CastToType to indicate type casting, perhaps this needs more discussion? dtype parameter may be useful to control the memory footprint or float precision of the transform computations.
Hi @wyli , I agree with you, we should use Thanks. |
wyli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, we agreed to have this based on the discussions.
Fixes #3234 .
Description
This PR added
dtypearg toScaleIntensityRangetransforms, same as otherintensity scaletransforms which may change data type during computation, especially forintorlonginput.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.