It requires minimal changes to the existing code - you only need to declare Tensor s for which gradients should be computed with the requires_grad=True ...
確定! 回上一頁