x = np.array([[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
[1, 2, 3]])
此时shape为(4, 3)
x[1].shape
这时x[1]的shape就变为(3, )
x = np.array([[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
[1, 2, 3]])
此时shape为(4, 3)
x[1].shape
这时x[1]的shape就变为(3, )