diagonal embedding of a batch of matrices in pytorch?

后端 未结 0 1186
傲寒
傲寒 2020-12-08 07:24

If you are given a collection of $n \\times n$ matrices say m of them, is there predefined functions in pytorch that performs a diagonal embedding on all of these into a lar

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