How to implement geometric sequence with a single nn.Parameter variable

前端 未结 0 1860
轻奢々
轻奢々 2020-11-28 13:20

I have the following definition in the init of my model self.p = nn.Parameter(torch.ones(1)) My question is how to implement a geometric sequence based on self.

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