标签: python numpy multidimensional-array correlation numpy-ndarray
x是3D ndarray,x.shape=[3,24,24,256] z是3D ndarray,z.shape=[3,8,8,256]
x.shape=[3,24,24,256]
z.shape=[3,8,8,256]
实际上,x / z的第一维表示3个比例。
问题是:我想计算每个刻度级别的相关性,该怎么办?
输出应类似于[3, 17, 17]
[3, 17, 17]