import numpy as np. a=np.arange(0,12). b=a.reshape((-1,1)) # b with shape 12,1. c=a.reshape((1,-1)) # c with shape 1,12. b=np.tile(b,[1,12]) ...
確定! 回上一頁