fix overrun for debug
@@ -79,7 +79,7 @@ def transpose_kernels(kernel_data, dimension_format, oh, ow, od, kh, kw, kd):
else:
k_size = od * kh * kw * k_c_by_word;
- flatten_value = []
+ flatten_value = [] * k_size
for elem in kernel_data:
flatten_value.extend(elem)
copy_value = [0] * k_size
