Skip to content

2460 Add kwargs for np.pad API#2465

Merged
Nic-Ma merged 9 commits intoProject-MONAI:devfrom
Nic-Ma:2460-pad-value
Jun 28, 2021
Merged

2460 Add kwargs for np.pad API#2465
Nic-Ma merged 9 commits intoProject-MONAI:devfrom
Nic-Ma:2460-pad-value

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Jun 28, 2021

Fixes #2460 .

Description

This transform added the **kwargs additional args for np.pad in all the padding transforms and added unit tests.
Also fixed a minor typo in doc-string.

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
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jun 28, 2021

/black

@Nic-Ma Nic-Ma enabled auto-merge (squash) June 28, 2021 09:19
Signed-off-by: Wenqi Li <[email protected]>
@Nic-Ma Nic-Ma merged commit 8d23912 into Project-MONAI:dev Jun 28, 2021
@Nic-Ma Nic-Ma deleted the 2460-pad-value branch July 2, 2021 23:36
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.

How do I to use a Pad transform with a constant value?

4 participants