Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REF: make modellib private + support numpy docstring style in sphinx docs #56

Merged
merged 7 commits into from
Jan 3, 2023

Conversation

kaczmarj
Copy link
Member

@kaczmarj kaczmarj commented Jan 2, 2023

make modellib private, and expose the api at the top level. also add napoleon and intersphinx extensions to sphinx docs.

from ._modellib.models import get_model_weights  # noqa
from ._modellib.models import list_all_models_and_weights  # noqa
from ._modellib.models import register_model_weights  # noqa
from ._modellib.run_inference import run_inference  # noqa
from ._modellib.run_inference import WholeSlideImagePatches  # noqa
from ._modellib.transforms import PatchClassification  # noqa

@kaczmarj kaczmarj merged commit 48d4ac3 into main Jan 3, 2023
@kaczmarj kaczmarj deleted the ref/private-modellib branch January 3, 2023 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant