高阶差异是通过递归使用torch.diff() 来计算的。 Note 目前仅支持n = 1 out(Tensor ... torch.diff(input, n=1, dim=-1, prepend=None, append=None) → Tensor.
確定! 回上一頁