import torch a = torch.tensor(1.0, requires_grad=True) b = torch.tensor(1.0, requires_grad=True) print(a.grad) y = (a ** 2) * (b ** 3) z = y ...
確定! 回上一頁