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

Move metatensor support into dev branch (crop/pad) #4548

Merged
merged 60 commits into from
Jun 29, 2022

Conversation

Nic-Ma
Copy link
Contributor

@Nic-Ma Nic-Ma commented Jun 21, 2022

Description

This PR added MetaTensor support for all the crop & pad transforms.

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 --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Jun 21, 2022

Hi @wyli , @rijobro ,

Thanks for sharing the implementation in the metatensor branch, I refer to the PR #4536 and made the change for Pad transform in this PR, could you please help take a look first then I will dive into more transforms?
The main differences between this PR and the implementation in #4536:

  1. The transform can accept tensor, metatensor or numpy, but the computation backend is always tensor.
  2. The output of the transform is always tensor or metatensor, I see the typehints in metatensor branch are torch.Tensor for transforms input/output now.
  3. The value modification are in-place for the image and metadata, same as our current existing transforms.

Thanks.

@Nic-Ma Nic-Ma changed the title [WIP] Add MetaTensor support for all the crop & pad transforms [WIP] Move metatensor support into dev branch (crop/pad) Jun 21, 2022
Nic-Ma added 20 commits June 22, 2022 10:22
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>
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>
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>
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>
Nic-Ma added 8 commits June 27, 2022 18:59
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>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Jun 28, 2022

Hi @wyli @rijobro ,

I have integrated all the crop and pad transforms and migrated all the crop & pad unit tests from #4536.
Could you please help review it?
Please note that:

  1. Some CI tests can't pass so far because having some other dependencies need to update.
  2. I dropped the inverse operation of "crop samples" transforms.

Thanks.

@Nic-Ma Nic-Ma marked this pull request as ready for review June 28, 2022 07:30
@Nic-Ma Nic-Ma changed the title [WIP] Move metatensor support into dev branch (crop/pad) Move metatensor support into dev branch (crop/pad) Jun 28, 2022
@Nic-Ma Nic-Ma requested review from wyli, rijobro and ericspod June 28, 2022 07:31
Copy link
Contributor

@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, I put some initial comments inline, please help fix the docs error: https://github.com/Project-MONAI/MONAI/runs/7087792214?check_suite_focus=true

monai/transforms/croppad/array.py Outdated Show resolved Hide resolved
monai/transforms/croppad/array.py Outdated Show resolved Hide resolved
monai/transforms/croppad/array.py Outdated Show resolved Hide resolved
monai/transforms/croppad/array.py Outdated Show resolved Hide resolved
monai/transforms/croppad/array.py Outdated Show resolved Hide resolved
monai/transforms/croppad/dictionary.py Outdated Show resolved Hide resolved
monai/transforms/croppad/dictionary.py Outdated Show resolved Hide resolved
@wyli wyli mentioned this pull request Jun 28, 2022
12 tasks
Nic-Ma added 5 commits June 28, 2022 22:33
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>
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma Nic-Ma requested a review from wyli June 29, 2022 06:12
Nic-Ma added 2 commits June 29, 2022 14:35
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Copy link
Contributor

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

looks good to me

@Nic-Ma Nic-Ma merged commit 06c9eb7 into Project-MONAI:integration-metatensor Jun 29, 2022
wyli pushed a commit that referenced this pull request Jun 29, 2022
* [DLMED] adapt Pad transform for MetaTensor

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] format code

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update inverse and spatial_pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update divisible pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] make thread safe

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update CenterSpatialCrop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update scale crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random scale crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random spatial crop samples

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] adjust Pad design

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update CropForeground

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random weighted crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update RandCropPosNeg

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand crop by label classes

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update ResizeCropOrPad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] restore numpy pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update dict spatial pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad and divisible pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update center spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand scale crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand spatial crop samples dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update crop foreground dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand weighted crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update pos neg crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [DLMED] update crop by labels dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update resize with pad or crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update format

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix all the mypy errors

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add crop / pad base tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad test

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update pad transforms

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update samples crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update crop tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add test for deepcopy

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix typo

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update docs

Signed-off-by: Nic Ma <nma@nvidia.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
wyli pushed a commit that referenced this pull request Jun 29, 2022
* [DLMED] adapt Pad transform for MetaTensor

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] format code

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update inverse and spatial_pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update divisible pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] make thread safe

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update CenterSpatialCrop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update scale crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random scale crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random spatial crop samples

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] adjust Pad design

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update CropForeground

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random weighted crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update RandCropPosNeg

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand crop by label classes

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update ResizeCropOrPad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] restore numpy pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update dict spatial pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad and divisible pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update center spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand scale crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand spatial crop samples dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update crop foreground dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand weighted crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update pos neg crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [DLMED] update crop by labels dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update resize with pad or crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update format

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix all the mypy errors

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add crop / pad base tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad test

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update pad transforms

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update samples crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update crop tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add test for deepcopy

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix typo

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update docs

Signed-off-by: Nic Ma <nma@nvidia.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
wyli pushed a commit that referenced this pull request Jun 30, 2022
* [DLMED] adapt Pad transform for MetaTensor

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] format code

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update inverse and spatial_pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update divisible pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] make thread safe

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update CenterSpatialCrop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update scale crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random scale crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random spatial crop samples

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] adjust Pad design

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update CropForeground

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random weighted crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update RandCropPosNeg

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand crop by label classes

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update ResizeCropOrPad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] restore numpy pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update dict spatial pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad and divisible pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update center spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand scale crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand spatial crop samples dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update crop foreground dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand weighted crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update pos neg crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [DLMED] update crop by labels dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update resize with pad or crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update format

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix all the mypy errors

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add crop / pad base tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad test

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update pad transforms

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update samples crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update crop tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add test for deepcopy

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix typo

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update docs

Signed-off-by: Nic Ma <nma@nvidia.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
wyli pushed a commit that referenced this pull request Jul 5, 2022
* [DLMED] adapt Pad transform for MetaTensor

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] format code

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update inverse and spatial_pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update divisible pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] make thread safe

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update CenterSpatialCrop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update scale crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random scale crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random spatial crop samples

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] adjust Pad design

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update CropForeground

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update random weighted crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update RandCropPosNeg

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand crop by label classes

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update ResizeCropOrPad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] restore numpy pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update dict spatial pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad and divisible pad

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update center spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand scale crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand spatial crop samples dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update crop foreground dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update rand weighted crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update pos neg crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [DLMED] update crop by labels dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update resize with pad or crop dict

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update format

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix all the mypy errors

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add crop / pad base tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update border pad test

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update spatial crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update pad transforms

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update samples crop

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update crop tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add test for deepcopy

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix typo

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update docs

Signed-off-by: Nic Ma <nma@nvidia.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

2 participants