|
2 | 2 | .. include:: ../../README.md
|
3 | 3 | """
|
4 | 4 |
|
5 |
| -from bioimageio.spec import build_description as build_description |
6 |
| -from bioimageio.spec import dump_description as dump_description |
7 |
| -from bioimageio.spec import load_dataset_description as load_dataset_description |
8 |
| -from bioimageio.spec import load_description as load_description |
| 5 | +from bioimageio.core.stat_measures import Stat |
9 | 6 | from bioimageio.spec import (
|
10 |
| - load_description_and_validate_format_only as load_description_and_validate_format_only, |
| 7 | + build_description, |
| 8 | + dump_description, |
| 9 | + load_dataset_description, |
| 10 | + load_description, |
| 11 | + load_description_and_validate_format_only, |
| 12 | + load_model_description, |
| 13 | + save_bioimageio_package, |
| 14 | + save_bioimageio_package_as_folder, |
| 15 | + save_bioimageio_yaml_only, |
| 16 | + validate_format, |
11 | 17 | )
|
12 |
| -from bioimageio.spec import load_model_description as load_model_description |
13 |
| -from bioimageio.spec import save_bioimageio_package as save_bioimageio_package |
14 |
| -from bioimageio.spec import ( |
15 |
| - save_bioimageio_package_as_folder as save_bioimageio_package_as_folder, |
16 |
| -) |
17 |
| -from bioimageio.spec import save_bioimageio_yaml_only as save_bioimageio_yaml_only |
18 |
| -from bioimageio.spec import validate_format as validate_format |
19 | 18 |
|
20 |
| -from . import digest_spec as digest_spec |
21 |
| -from ._prediction_pipeline import PredictionPipeline as PredictionPipeline |
22 |
| -from ._prediction_pipeline import ( |
23 |
| - create_prediction_pipeline as create_prediction_pipeline, |
24 |
| -) |
25 |
| -from ._resource_tests import load_description_and_test as load_description_and_test |
26 |
| -from ._resource_tests import test_description as test_description |
27 |
| -from ._resource_tests import test_model as test_model |
28 |
| -from ._settings import settings as settings |
29 |
| -from .axis import Axis as Axis |
30 |
| -from .axis import AxisId as AxisId |
31 |
| -from .block_meta import BlockMeta as BlockMeta |
32 |
| -from .common import MemberId as MemberId |
33 |
| -from .prediction import predict as predict |
34 |
| -from .prediction import predict_many as predict_many |
35 |
| -from .sample import Sample as Sample |
36 |
| -from .tensor import Tensor as Tensor |
| 19 | +from . import digest_spec |
| 20 | +from ._prediction_pipeline import PredictionPipeline, create_prediction_pipeline |
| 21 | +from ._resource_tests import load_description_and_test, test_description, test_model |
| 22 | +from ._settings import settings |
| 23 | +from .axis import Axis, AxisId |
| 24 | +from .block_meta import BlockMeta |
| 25 | +from .common import MemberId |
| 26 | +from .prediction import predict, predict_many |
| 27 | +from .sample import Sample |
| 28 | +from .stat_calculators import compute_dataset_measures |
| 29 | +from .tensor import Tensor |
37 | 30 | from .utils import VERSION
|
38 | 31 |
|
39 | 32 | __version__ = VERSION
|
40 | 33 |
|
| 34 | + |
41 | 35 | # aliases
|
42 | 36 | test_resource = test_description
|
43 | 37 | load_resource = load_description
|
44 | 38 | load_model = load_model_description
|
| 39 | + |
| 40 | +__all__ = [ |
| 41 | + "__version__", |
| 42 | + "Axis", |
| 43 | + "AxisId", |
| 44 | + "BlockMeta", |
| 45 | + "build_description", |
| 46 | + "compute_dataset_measures", |
| 47 | + "create_prediction_pipeline", |
| 48 | + "digest_spec", |
| 49 | + "dump_description", |
| 50 | + "load_dataset_description", |
| 51 | + "load_description_and_test", |
| 52 | + "load_description_and_validate_format_only", |
| 53 | + "load_description", |
| 54 | + "load_model_description", |
| 55 | + "load_model", |
| 56 | + "load_resource", |
| 57 | + "MemberId", |
| 58 | + "predict_many", |
| 59 | + "predict", |
| 60 | + "PredictionPipeline", |
| 61 | + "Sample", |
| 62 | + "save_bioimageio_package_as_folder", |
| 63 | + "save_bioimageio_package", |
| 64 | + "save_bioimageio_yaml_only", |
| 65 | + "settings", |
| 66 | + "Stat", |
| 67 | + "Tensor", |
| 68 | + "test_description", |
| 69 | + "test_model", |
| 70 | + "test_resource", |
| 71 | + "validate_format", |
| 72 | +] |
0 commit comments