... kw, nrows, ncols slides = s0, s1, s0, s1 L = kh*kw x_unfold = np.lib.stride_tricks.as_strided(x, shape=shape, strides=slides) return x_unfold.reshape(L, ...
確定! 回上一頁