import numpy as np x = np.array([[[0], [1], [2]]]) print(x) """ x= [[[0] [1] [2]]] """ print(x.shape) # (1, 3, 1) x1 = np.squeeze(x) # 從 ...
確定! 回上一頁