Is there a way to use numpy.outer on only a subset of dimensions?

前端 未结 0 2060
清歌不尽
清歌不尽 2020-12-17 15:58

I have an array of arrays, like this:

import numpy as np
a = np.array([[1, 2, 3], [4, 5, 6]])

I would like to calculate the pairwise differen

相关标签:
回答
  • 消灭零回复
提交回复
热议问题