快捷方式

torch.Tensor.sub_

Tensor.sub_(other, *, alpha=1) Tensor

sub() 的原地(in-place)版本

文件

查閱全面的 PyTorch 開發者文件

檢視文件

教程

獲取適合初學者和高階開發者的深度教程

檢視教程

資源

查詢開發資源並獲得問題解答

檢視資源