We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf8a47 commit a4b0072Copy full SHA for a4b0072
mindnlp/transformers/optimization.py
@@ -0,0 +1,8 @@
1
+"""old optimization module"""
2
+# pylint: disable=wildcard-import
3
+# pylint: disable=unused-wildcard-import
4
+from mindnlp.utils import logging
5
+from mindnlp.common.optimization import *
6
+
7
+logger = logging.get_logger(__name__)
8
+logger.warning('`mindnlp.transformers.optimization` is deprecated, please use `mindnlp.common.optimization` instead')
0 commit comments