重み共有
#機械学習
基本的にはsumを取れば良いらしい
https://gyazo.com/b02c99b49a64171eacb9ec477b4032d3
PyTorch
だと普通に呼び出せばそのまま重みの共有になるらしい
https://vasteelab.com/2022/01/31/post-1951/
http://neural.vision/blog/deep-learning/backpropagation-with-shared-weights/