x = np.array([[1,2],[3,4]]) >>> np.repeat(x, 2) array([1, 1, 2, 2, 3, 3, 4, ... https://docs.scipy.org/doc/numpy-1.11.0/reference/generated/numpy.repeat.html.
確定! 回上一頁