我有两个形式为 [y11, y12] 和 [y21, y22] 的 Pytorch 张量。如何获得两个张量的加权平均值?
python numpy weighted-average pytorch tensor
numpy ×1
python ×1
pytorch ×1
tensor ×1
weighted-average ×1