Coverage for bioimageio/core/model_adapters.py: 80%
5 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-04-01 09:51 +0000
« prev ^ index » next coverage.py v7.8.0, created at 2025-04-01 09:51 +0000
1"""DEPRECATED"""
3from typing import List
5from .backends._model_adapter import (
6 DEFAULT_WEIGHT_FORMAT_PRIORITY_ORDER,
7 ModelAdapter,
8 create_model_adapter,
9)
11__all__ = [
12 "ModelAdapter",
13 "create_model_adapter",
14 "get_weight_formats",
15]
18def get_weight_formats() -> List[str]:
19 """
20 Return list of supported weight types
21 """
22 return list(DEFAULT_WEIGHT_FORMAT_PRIORITY_ORDER)