optional strict_check for EnsureChannelFirst(d)#2309
optional strict_check for EnsureChannelFirst(d)#2309Nic-Ma merged 2 commits intoProject-MONAI:devfrom
strict_check for EnsureChannelFirst(d)#2309Conversation
Signed-off-by: Wenqi Li <[email protected]>
|
Hi @wyli , Thanks for your enhancement for Thanks. |
|
this is useful when customising preprocessors and composes, e.g. I was experimenting with this example, using ensure channel and changing the flags. Lines 931 to 943 in c1e06f5 |
|
Thanks for your explanation. Thanks. |
|
if that's the original intention then the previous function signature is also wrong |
|
Hi @wyli , Thanks for your finding. Thanks. |
this PR addressed a previous error, added more flexibility, kept the previous behaviour. I really don't see an issue here. |
Signed-off-by: Wenqi Li [email protected]
Description
adds a boolean flag
strict_checkto theEnsureChannelFirstStatus
Ready
Types of changes
./runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.