提交 d78f44f6 authored 作者: Pascal Lamblin's avatar Pascal Lamblin 提交者: GitHub

Merge pull request #4676 from Maltimore/master

fixed error message in op.py
...@@ -997,7 +997,7 @@ class Op(utils.object2, PureOp, CLinkerOp): ...@@ -997,7 +997,7 @@ class Op(utils.object2, PureOp, CLinkerOp):
if not all(inp.type == it for inp, it in zip(inputs, self.itypes)): if not all(inp.type == it for inp, it in zip(inputs, self.itypes)):
raise TypeError( raise TypeError(
"We expected inputs of types '%s' but got types '%s' " % "We expected inputs of types '%s' but got types '%s' " %
(str([inp.type for inp in inputs]), str(self.itypes))) (str(self.itypes), str([inp.type for inp in inputs])))
return theano.Apply(self, inputs, [o() for o in self.otypes]) return theano.Apply(self, inputs, [o() for o in self.otypes])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论