For example, I have 1D vector with dimension (5). I would like to reshape it into 2D matrix (1,5). Here is how I do it with numpy >>> import numpy as np ...
確定! 回上一頁