因为* 实现对应元素相乘,只适用于np.array 类型. 2. 矩阵元素相乘. 使用np.multiply() 可实现对应矩阵对应元素相乘. import numpy as np. b = [[1, 2, 3, 4, 5],.
確定! 回上一頁