Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit 6a18057c authored by ANDREY Paul's avatar ANDREY Paul
Browse files

Correct v2.3-introduced deprecations' planned removal.

parent 3d39a2d0
No related branches found
No related tags found
1 merge request!57Improve tests coverage and fix test-digged bugs
...@@ -156,7 +156,7 @@ class JaxNumpyVector(Vector): ...@@ -156,7 +156,7 @@ class JaxNumpyVector(Vector):
warnings.warn( # pragma: no cover warnings.warn( # pragma: no cover
"The 'axis' and 'keepdims' arguments of 'JaxNumpyVector.sum' " "The 'axis' and 'keepdims' arguments of 'JaxNumpyVector.sum' "
"have been deprecated as of declearn v2.3, and will be " "have been deprecated as of declearn v2.3, and will be "
"removed in version 2.6 and/or 3.0.", "removed in version 2.5 and/or 3.0.",
DeprecationWarning, DeprecationWarning,
) )
coefs = { coefs = {
......
...@@ -127,7 +127,7 @@ class NumpyVector(Vector): ...@@ -127,7 +127,7 @@ class NumpyVector(Vector):
warnings.warn( # pragma: no cover warnings.warn( # pragma: no cover
"The 'axis' and 'keepdims' arguments of 'NumpyVector.sum' " "The 'axis' and 'keepdims' arguments of 'NumpyVector.sum' "
"have been deprecated as of declearn v2.3, and will be " "have been deprecated as of declearn v2.3, and will be "
"removed in version 2.6 and/or 3.0.", "removed in version 2.5 and/or 3.0.",
DeprecationWarning, DeprecationWarning,
) )
coefs = { coefs = {
......
...@@ -295,7 +295,7 @@ class TensorflowVector(Vector): ...@@ -295,7 +295,7 @@ class TensorflowVector(Vector):
warnings.warn( # pragma: no cover warnings.warn( # pragma: no cover
"The 'axis' and 'keepdims' arguments of 'TensorflowVector.sum'" "The 'axis' and 'keepdims' arguments of 'TensorflowVector.sum'"
" have been deprecated as of declearn v2.3, and will be " " have been deprecated as of declearn v2.3, and will be "
"removed in version 2.6 and/or 3.0.", "removed in version 2.5 and/or 3.0.",
DeprecationWarning, DeprecationWarning,
) )
return self.apply_func(tf.reduce_sum, axis=axis, keepdims=keepdims) return self.apply_func(tf.reduce_sum, axis=axis, keepdims=keepdims)
......
...@@ -200,7 +200,7 @@ class TorchVector(Vector): ...@@ -200,7 +200,7 @@ class TorchVector(Vector):
warnings.warn( # pragma: no cover warnings.warn( # pragma: no cover
"The 'axis' and 'keepdims' arguments of 'TorchVector.sum' " "The 'axis' and 'keepdims' arguments of 'TorchVector.sum' "
"have been deprecated as of declearn v2.3, and will be " "have been deprecated as of declearn v2.3, and will be "
"removed in version 2.6 and/or 3.0.", "removed in version 2.5 and/or 3.0.",
DeprecationWarning, DeprecationWarning,
) )
coefs = { coefs = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment