How to shape data to pass data through a linear layer and receive the same output shape as input shape?

后端 未结 0 520
Happy的楠姐
Happy的楠姐 2021-02-01 10:46

I am wondering how I can receive the same input shape as an output shape for a torch linear layer?

Consider the following (failing MWE):

x = torch.randn(40         


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