The tensor can't be autograded with unsqueeze(2)

前端 未结 0 1448
难免孤独
难免孤独 2021-02-06 06:13
rho = base[0][:,1:,:]
mu = base[1][:,1:,:]
diff_time = (time[:, 1:] - time[:, :-1]) * non_pad_mask[:, 1:]
temp_time = diff_time.unsqueeze(2) * \\
           torch.rand([         


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