提交 41b43279 authored 作者: pl's avatar pl

Modified output variable creation in make_node

上级 b851807f
......@@ -393,7 +393,7 @@ storage with the right shape and number of dimensions.
raise TypeError('y must be a scalar')
# Create an output variable of the same type as x
output_var = x.type.make_variable()
output_var = x.type()
return gof.Apply(self, [x, y], [output_var])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论