Do not test with strides ±2 on dims > 4
Otherwise, we have to allocate 2**ndims times the amount of memory,
and 2**4 seems enough.
Also, strides 1 and -1 will not be tested independently on the
dimensions above 4, their strides will always be all 1 or all -1.
正在显示
请
注册
或者
登录
后发表评论