Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 26, 2023
1 parent 582efb4 commit 2bb17e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monai/transforms/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from contextlib import contextmanager
from functools import lru_cache, wraps
from inspect import getmembers, isclass
from typing import Any, Tuple
from typing import Any

import numpy as np
import torch
Expand Down Expand Up @@ -2065,9 +2065,9 @@ def distance_transform_edt(
return_indices: bool = False,
distances: NdarrayOrTensor | None = None,
indices: NdarrayOrTensor | None = None,
block_params: Tuple[int, int, int] | None = None,
block_params: tuple[int, int, int] | None = None,
float64_distances: bool = False,
) -> Tuple[NdarrayOrTensor, NdarrayOrTensor]:
) -> tuple[NdarrayOrTensor, NdarrayOrTensor]:
"""
Euclidean distance transform, either GPU based with CuPy / cuCIM
or CPU based with scipy.
Expand Down

0 comments on commit 2bb17e1

Please sign in to comment.