From ca08b788af38a076f45f000003eb0e2f227d7fd5 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Mon, 24 Sep 2018 11:09:48 +0200 Subject: deprecate ot.gpu and remove OTDA classes from it --- ot/gpu/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ot/gpu/__init__.py') 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"] -- cgit v1.2.3