由于numpy中的append函数本质上是数组拼接,但是在初始化数组为空时,直接append或者使用其他 ... 0 a = np.array([]).reshape(tuple(shape)) return np.append(a, b, ...
確定! 回上一頁