提交 67f55cec authored 作者: Razvan Pascanu's avatar Razvan Pascanu

add shortcuts to some lists

names were getting to long so I created some intermidiate lists of buffers
上级 4721113b
......@@ -192,8 +192,10 @@ class ScanOp(PureOp):
# 2. Construct fake shared variables around every argument of scan
givens = {}
base_inputs = self.inputs[:len(self.outputs)]
base_buffers = node_input_storage[1: 1 + len(base_inputs)]
aux_inputs = self.inputs[len(self.outputs):]
# 3.1 First the auxiliary arguments, those that are parameters or
aux_buffers = node_input_storage[1 + len(base_inputs):]
# input
for mem_buf, var in izip(ndoe_input_storage[1 + len(base_inputs):],
aux_inputs):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论