2024-04-29 12:46:30 发布
网友
我有一个形状为(6,2)的Numpy数组
a = array([[1, 2, 3, 3, 2, 1], [4, 5, 6, 7, 8, 9]])
我想使用 np.power(a, [-6,-8])但这会提高ValueError: operands could not be broadcast together with shapes。我该怎么做?谢谢!
np.power(a, [-6,-8])
ValueError: operands could not be broadcast together with shapes
目前没有回答
目前没有回答
相关问题 更多 >
编程相关推荐