b = np.array([[1, 2], [3, 4]])
np.tile(b, 2)
array([[1, 2, 1, 2, 1, 2],
[3, 4, 3, 4, 3, 4],
[1, 2, 1, 2, 1, 2],
[3, 4, 3, 4, 3, 4]])

numpy.tile    阵列_其它