Skip to content

Commit 298096a

Browse files
committed
[del] Delete unused typing 'SplittingFunc'
1 parent 3473933 commit 298096a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

autoPyTorch/datasets/resampling_strategy.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
from typing_extensions import Protocol
1717

1818

19-
SplitFunc = Callable[[Union[int, float], np.ndarray, Any], List[Tuple[np.ndarray, np.ndarray]]]
20-
21-
2219
# Use callback protocol as workaround, since callable with function fields count 'self' as argument
2320
class CrossValFunc(Protocol):
2421
"""TODO: This class is not required anymore, because CrossValTypes class does not require get_validators()"""

0 commit comments

Comments
 (0)