提交 d65aa532 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fix mistakes in helper_c_code argument supply chain

上级 911d7160
......@@ -3978,7 +3978,7 @@ class Subtensor(Op):
"set_data" : "PyArray_set_data",
"set_dim" : "PyArray_set_dim",
"set_stride" : "PyArray_set_stride",
"strides_mul" : "strides_mul" }
"strides_mul" : 1 }
@staticmethod
......@@ -4013,6 +4013,9 @@ class Subtensor(Op):
if strides_mul is None:
strides_mul = default_args['strides_mul']
if c_prefix is None:
c_prefix = default_args['c_prefix']
#
# two arrays are created in C code:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论