提交 e08072c0 authored 作者: Iban Harlouchet's avatar Iban Harlouchet

__props__ for theano/tensor/slinalg.py

上级 95022ce2
......@@ -339,6 +339,8 @@ class Expm(Op):
"""Compute the matrix exponential of a square array
"""
__props__ = ()
def make_node(self, A):
assert imported_scipy, (
"Scipy not available. Scipy is needed for the Expm op")
......@@ -366,6 +368,8 @@ class ExpmGrad(Op):
"""Gradient of the matrix exponential of a square array.
"""
__props__ = ()
def make_node(self, A, gw):
assert imported_scipy, (
"Scipy not available. Scipy is needed for the Expm op")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论