mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-07-08 18:08:30 +08:00
13 lines
310 B
Python
13 lines
310 B
Python
from pkgutil import extend_path
|
|
|
|
from pkg_resources import get_distribution, DistributionNotFound
|
|
|
|
from .trainer import Trainer
|
|
|
|
__path__ = extend_path(__path__, __name__) # type: ignore
|
|
|
|
try:
|
|
__version__ = get_distribution(__name__).version
|
|
except DistributionNotFound:
|
|
__version__ = "0.0.0-unknown"
|