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

Fixed the error message.

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