提交 d5b686f6 authored 作者: abalkin's avatar abalkin 提交者: Frederic

Don't introduce errors when fixing error messages\!

上级 887fd1f2
...@@ -910,7 +910,7 @@ class Eig(Op): ...@@ -910,7 +910,7 @@ class Eig(Op):
w[0], v[0] = [z.astype(x.dtype) for z in self._numop(x)] w[0], v[0] = [z.astype(x.dtype) for z in self._numop(x)]
except numpy.linalg.LinAlgError: except numpy.linalg.LinAlgError:
logger.debug('Failed to find %s of %s' % (self._numop.__name__, logger.debug('Failed to find %s of %s' % (self._numop.__name__,
node.inputs[0]) node.inputs[0]))
raise raise
def infer_shape(self, node, shapes): def infer_shape(self, node, shapes):
...@@ -953,7 +953,7 @@ class Eigh(Eig): ...@@ -953,7 +953,7 @@ class Eigh(Eig):
w[0], v[0] = self._numop(x, self.UPLO) w[0], v[0] = self._numop(x, self.UPLO)
except numpy.linalg.LinAlgError: except numpy.linalg.LinAlgError:
logger.debug('Failed to find %s of %s' % (self._numop.__name__, logger.debug('Failed to find %s of %s' % (self._numop.__name__,
node.inputs[0]) node.inputs[0]))
raise raise
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论