[python3] numpy.reshape






np.reshape(a, (3,-1))       

# the unspecified value is inferred to be 2

# 固定row是3
# -1→系統自動幫判斷column

array([[1, 2],
       [3, 4],
       [5, 6]])


※給新手的便利貼

row 列 
→→→→→→
口口口口口|
橫→→→→ →


column 欄
↓口直
↓口↓
↓口↓
↓口↓
↓口↓
↓––↓

這個網誌中的熱門文章

[定義] delay jitter

[研究] 資料驅動(data-driven approach)是什麼?

[定義] 帧 / 訊框 frame