提交 e04e4706 authored 作者: Tanjay94's avatar Tanjay94

Fixed small error in code.

上级 ca03aa1a
......@@ -4,6 +4,7 @@ import numpy
import theano
from theano.tensor import basic
from theano.tensor import nlinalg
from theano import gof, scalar
tensor = basic
......
......@@ -703,7 +703,7 @@ def test_matrix_inverse_solve():
assert isinstance(out.owner.op, Solve)
class lstsq(theano.Op):
class lstsq(Op):
def __eq__(self, other):
return type(self) == type(other)
......
......@@ -9,6 +9,7 @@ from theano.gof import Constant, Variable
from theano.gof.utils import hashtype
from theano.tensor.utils import hash_from_ndarray
from theano.tensor.type import TensorType
from theano.tensor import nlinalg
class AsTensorError(TypeError):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论