x1=[1,2,3] x2=[[1,2,3]] x1=np.array(x1) x2=np.array(x2) print(x1.shape) print(x2.shape)
the first output is (3, ) but the second output is (1,