How can I fold a Tensor that I unfolded with PyTorch that has overlap?

后端 未结 0 1561
礼貌的吻别
礼貌的吻别 2020-12-16 23:57

I have a Tensor of size: torch.Size([1, 63840]) which I then unrolled:

inp_unfolded = inp_seq.unfold(1, 160, 80)

that gives me a

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