diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2018-09-24 11:09:48 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2018-09-24 11:09:48 +0200 |
commit | ca08b788af38a076f45f000003eb0e2f227d7fd5 (patch) | |
tree | e6dd45860861b15c5f6df2967ac4bfe5ceeae78b /ot/gpu/__init__.py | |
parent | ae1ede4ed31973213b5945721b7b9fe8e4992a1c (diff) |
deprecate ot.gpu and remove OTDA classes from it
Diffstat (limited to 'ot/gpu/__init__.py')
-rw-r--r-- | ot/gpu/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ot/gpu/__init__.py b/ot/gpu/__init__.py index a2fdd3d..ed6dcc4 100644 --- a/ot/gpu/__init__.py +++ b/ot/gpu/__init__.py @@ -9,4 +9,9 @@ from .bregman import sinkhorn # # License: MIT License +import warnings + +warnings.warn("the ot.gpu module is deprecated because cudamat in no longer maintained", DeprecationWarning, + stacklevel=2) + __all__ = ["bregman", "da", "sinkhorn"] |