Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lazy loading to skimage.future module (#6981)
* Add lazy loading to skimage.future module * Cleanup import --------- Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
- Loading branch information
1 parent
e913dd4
commit ea2757c
Showing
3 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Explicitly setting `__all__` is necessary for type inference engines | ||
# to know which symbols are exported. See | ||
# https://peps.python.org/pep-0484/#stub-files | ||
|
||
__all__ = [ | ||
"manual_lasso_segmentation", | ||
"manual_polygon_segmentation", | ||
"fit_segmenter", | ||
"predict_segmenter", | ||
"TrainableSegmenter", | ||
] | ||
|
||
from .manual_segmentation import manual_lasso_segmentation, manual_polygon_segmentation | ||
from .trainable_segmentation import fit_segmenter, predict_segmenter, TrainableSegmenter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
python_sources = [ | ||
'__init__.py', | ||
'__init__.pyi', | ||
'manual_segmentation.py', | ||
'trainable_segmentation.py' | ||
] | ||
|