提交 8c0bcff3 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fixed bug in error message-- printed value of an ndarray rather than its

shape
上级 d10dd8d4
......@@ -5256,7 +5256,7 @@ class Dot(Op):
raise ValueError('input '+str(i)+' and eval_point '+str(i)+' to Dot.R_op '
'should have the '
'same shape, but their shapes are %s and %s, respectively' % ( \
str(input_values[i].shape), str(eval_point_values[i]) ) )
str(input_values[i].shape), str(eval_point_values[i].shape) ) )
t1 = self(eval_points[0], inputs[1])
t2 = self(inputs[0], eval_points[1])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论