提交 27b29620 authored 作者: Maltimore's avatar Maltimore

fixed error message in op.py

上级 375ab0bd
......@@ -997,7 +997,7 @@ class Op(utils.object2, PureOp, CLinkerOp):
if not all(inp.type == it for inp, it in zip(inputs, self.itypes)):
raise TypeError(
"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])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论