提交 864ee339 authored 作者: Rémi Louf's avatar Rémi Louf 提交者: Rémi Louf

Add deprecation warning for `rng_mrg`

上级 5d97ffa6
...@@ -37,6 +37,14 @@ from aesara.tensor.shape import reshape ...@@ -37,6 +37,14 @@ from aesara.tensor.shape import reshape
from aesara.tensor.type import TensorType, iscalar, ivector, lmatrix from aesara.tensor.type import TensorType, iscalar, ivector, lmatrix
warnings.warn(
"The module `aesara.sandbox.rng_mrg` is deprecated. "
"Use the module `aesara.tensor.random` for random variables instead.",
DeprecationWarning,
stacklevel=2,
)
def matVecModM(A, s, m): def matVecModM(A, s, m):
# TODO : need description for method, parameter and return # TODO : need description for method, parameter and return
assert A.dtype == "int64" assert A.dtype == "int64"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论