-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4de1abf
commit d81da93
Showing
1 changed file
with
16 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,18 @@ | ||
from .version import __version__ | ||
from .layers import is_scriptable, is_exportable, set_scriptable, set_exportable | ||
from .version import __version__ as __version__ | ||
from .layers import ( | ||
is_scriptable as is_scriptable, | ||
is_exportable as is_exportable, | ||
set_scriptable as set_scriptable, | ||
set_exportable as set_exportable, | ||
) | ||
from .models import ( | ||
create_model, | ||
list_models, | ||
list_pretrained, | ||
is_model, | ||
list_modules, | ||
model_entrypoint, | ||
is_model_pretrained, | ||
get_pretrained_cfg, | ||
get_pretrained_cfg_value, | ||
create_model as create_model, | ||
list_models as list_models, | ||
list_pretrained as list_pretrained, | ||
is_model as is_model, | ||
list_modules as list_modules, | ||
model_entrypoint as model_entrypoint, | ||
is_model_pretrained as is_model_pretrained, | ||
get_pretrained_cfg as get_pretrained_cfg, | ||
get_pretrained_cfg_value as get_pretrained_cfg_value, | ||
) | ||
|
||
__all__ = [ | ||
"__version__", | ||
"is_scriptable", | ||
"is_exportable", | ||
"set_scriptable", | ||
"set_exportable", | ||
"create_model", | ||
"list_models", | ||
"list_pretrained", | ||
"is_model", | ||
"list_modules", | ||
"model_entrypoint", | ||
"is_model_pretrained", | ||
"get_pretrained_cfg", | ||
"get_pretrained_cfg_value", | ||
] |