提交 592e7c75 authored 作者: Tim Cooijmans's avatar Tim Cooijmans 提交者: Reyhane Askari

Revert "remove unused variable"

This reverts commit 661be5b763fc19d09f791ab66fa2c72d1e1c7fa9.
上级 00afee39
......@@ -1262,6 +1262,7 @@ def local_gpua_careduce(op, context_name, inputs, outputs):
reshaped_x = x.reshape(tensor.stack(new_in_shp))
gpu_reshaped_x = as_gpuarray_variable(reshaped_x, context_name)
gvar = greduce(gpu_reshaped_x)
# We need to have the make node called, otherwise the mask can
# be None
reshaped_gpu_inputs = [gpu_reshaped_x]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论