当你做类似的事情时,为什么numpy不会抛出错误
np.ones((5,5)) + np.ones(5)
这种添加在线性代数中没有明确定义,它只花了我几个小时来追踪一个归结为这个的错误
python arrays numpy
arrays ×1
numpy ×1
python ×1