x_torch = torch.tensor([[1,2],[3,4.]]) ... a = torch.tensor(2.0, requires_grad=True) # we set requires_grad=True to let ... Size([50, 2]) y shape torch.
確定! 回上一頁