提交 7139459a authored 作者: Tanjay94's avatar Tanjay94

Fixed small mistake.

上级 6ec728ef
from theano import tensor
from theano.tensor.slinalg import kron
import warnings
warnings.warn(
"theano modules are deprecated and will be removed in release 0.7",
......
......@@ -535,7 +535,7 @@ class _tensor_py_operators:
return theano.tensor.basic.round(self, mode)
def trace(self):
return theano.sandbox.linalg.trace(self)
return theano.sandbox.linalg.ops.trace(self)
# TO TRUMP NUMPY OPERATORS
__array_priority__ = 1000
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论