要使用Pytorch 做到这一点,我们需要定义 h=nn.Conv1d(in, out, k) 和 x=torch.tensor(*) 和 y=h(x) 应该是结果。 注:请不要使用 nn.Conv2d 来实现它。
確定! 回上一頁