Skip to content

Commit

Permalink
Update monai/transforms/post/array.py
Browse files Browse the repository at this point in the history
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: Matthias Hadlich <matthiashadlich@yahoo.de>
  • Loading branch information
matt3o and KumoLiu authored Sep 23, 2023
1 parent 7943ffd commit 101cc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/transforms/post/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ def __call__(self, img: NdarrayOrTensor) -> NdarrayOrTensor:
"""
Args:
img: Input image on which the distance transform shall be run.
For CuPy shape must be ([channel, ]spatial_dim1, spatial_dim2 [, spatial_dim3]), so 2D, 3D and 4D input only.
channel first array, must have shape: (num_channels, H[, W, ..., ])
If you need to run the transform on other shapes, use the ``force_scipy`` flag.
4D input gets passed channel-wise to cupy.
Expand Down

0 comments on commit 101cc62

Please sign in to comment.