aboutsummaryrefslogtreecommitdiff
path: root/torch_ema
diff options
context:
space:
mode:
authorLinux-cpp-lisp <1473644+Linux-cpp-lisp@users.noreply.github.com>2021-11-17 15:57:44 -0500
committerLinux-cpp-lisp <1473644+Linux-cpp-lisp@users.noreply.github.com>2021-11-17 15:57:44 -0500
commitce73094b493c2fb12e113f1f729f7c876c447715 (patch)
tree2792a0826767fcdc5da3c48162c8379382dd0480 /torch_ema
parentf658af9055647685c7713c36de4905f34e4d8508 (diff)
Refactor and bump version
Diffstat (limited to 'torch_ema')
-rw-r--r--torch_ema/__init__.py3
-rw-r--r--torch_ema/_version.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/torch_ema/__init__.py b/torch_ema/__init__.py
index 6cf180f..91c6bbf 100644
--- a/torch_ema/__init__.py
+++ b/torch_ema/__init__.py
@@ -1,3 +1,4 @@
+from ._version import __version__
from .ema import ExponentialMovingAverage
-__all__ = [ExponentialMovingAverage]
+__all__ = [__version__, ExponentialMovingAverage]
diff --git a/torch_ema/_version.py b/torch_ema/_version.py
new file mode 100644
index 0000000..6a35e85
--- /dev/null
+++ b/torch_ema/_version.py
@@ -0,0 +1 @@
+__version__ = "0.3"