提交 e80d2cbd authored 作者: Frederic Bastien's avatar Frederic Bastien

fix bug introduced recently in conformance to pep.

上级 80d38b68
...@@ -182,7 +182,7 @@ class RandomFunction(gof.Op): ...@@ -182,7 +182,7 @@ class RandomFunction(gof.Op):
return [None, [sample_shp[i] for i in xrange(node.outputs[1].ndim)]] return [None, [sample_shp[i] for i in xrange(node.outputs[1].ndim)]]
def perform(self, node, inputs, out_): def perform(self, node, inputs, out_):
out, rout = out_ rout, out = out_
# Use self.fn to draw shape worth of random numbers. # Use self.fn to draw shape worth of random numbers.
# Numbers are drawn from r if self.inplace is True, and from a copy of r if # Numbers are drawn from r if self.inplace is True, and from a copy of r if
# self.inplace is False # self.inplace is False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论