Create a 2D tensor, i.e. a matrix two = np.array([[1,2],[2,3],[3,4]]) print(two.shape) print(two). (3, 2) [[1 2] [2 3] [3 4]].
確定! 回上一頁