实习中遇到的问题(4)
1 #[[1,2,3,4,6], 2 #[[7,8,9,10,11,12], 3 #[13,14,15,16,17,18], 4 #[19,20,21,22,23,24], 5 #[25,26,27,28,29,30], 6 #[31,32,33,34,35,36]] 7 # ] 8 # reshape(-1) 就是flatten成一维 [1,2,3,4,5,6,7,...,36]
np.repeat使用方法
permute(dims)
https://zhuanlan.zhihu.com/p/495255053