np.array() 默认会复制数据,而 np.asarray() 只在必要时才复制。 对于只读用途,asarray() 性能更好。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>