Lee's Space Station

有点坑的 np.array_split

2019/07/17 Share

For an array of length l that should be split into n sections, it returns l % n sub-arrays of size l//n + 1 and the rest of size l//n.

CATALOG