提交 41d61600 authored 作者: Frederic's avatar Frederic

even more debug info.

上级 6a485e55
...@@ -811,7 +811,7 @@ class ShapeFeature(object): ...@@ -811,7 +811,7 @@ class ShapeFeature(object):
if r.ndim != len(s): if r.ndim != len(s):
sio = StringIO.StringIO() sio = StringIO.StringIO()
theano.printing.debugprint(r, file=sio) theano.printing.debugprint(r, file=sio, print_type=True)
raise AssertionError( raise AssertionError(
"Something inferred a shape with %d dimensions " "Something inferred a shape with %d dimensions "
"for a variable with %d dimensions" "for a variable with %d dimensions"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论