当前位置:网站首页>einsum(): operands do not broadcast with remapped shapes [original->remapped]: [1, 144, 20, 17]->[1,
einsum(): operands do not broadcast with remapped shapes [original->remapped]: [1, 144, 20, 17]->[1,
2022-07-25 13:50:00 【构建的乐趣】
由torch使用fourier用到的复数技术引发的报错:
einsum(): operands do not broadcast with remapped shapes [original->remapped]: [1, 144, 20, 17]->[1, 1, 20, 17, 144] [144, 144, 20, 20]->[1, 144, 20, 20, 144]
预备:pytorch中的新老复数

老复数:最后一维必须是2,用来存储实部和虚部;
新复数:定义了一个专门的complex类
错误根因

modes1设置超过了其最大允许尺寸,见上图注释。
错误诱因
einsum要求的维度约束bixy ioxy->boxy未能满足:

边栏推荐
- QGIS加载在线地图:高德、天地图等
- Okaleido上线聚变Mining模式,OKA通证当下产出的唯一方式
- Preparing for the soft test for junior programmers in the second half of 2022
- 嵌入式代码如何进行重构?
- Day1:三种语言暴刷牛客130题
- 刷题-洛谷-P1075 质因数分解
- Int array get duplicate data
- Leetcode -- addition of four numbers II
- Brush questions - Luogu -p1059 clear random number
- [platform IO compile hifive1 revb] * * * [.pio\build\hifive1 revb\src\setupgpio.o] solution to error 1
猜你喜欢
随机推荐
Brush questions - Luogu -p1085 unhappy Jinjin
QGIS loading online map: Gaode, Tiandi map, etc
Congestion control of TCP
刷题-洛谷-P1150 Peter的烟
Excel record macro
GCD details
Immortal software in the computer that I don't want to delete all my life
互斥锁、自旋锁、读写锁……理清它们的区别和应用
Excel add key run macro
刷题-洛谷-P1161 开灯
Internal error of LabVIEW
Int array get duplicate data
QGIS加载在线地图:高德、天地图等
IM系统-消息流化一些常见问题
Okaleido上线聚变Mining模式,OKA通证当下产出的唯一方式
刷题-洛谷-P1035 级数求和
MySQL 01: Source command
G027-op-ins-rhel-04 RedHat openstack creates a customized qcow2 format image
Leetcode1 -- sum of two numbers
What are the ranking strategies for mobile websites, independent apps and websites?








