torch.Tensor.detach. Tensor. detach (). Returns a new Tensor, detached from the current graph. The result will never require gradient.
確定! 回上一頁